[JDK工具-5] jinfo jvm配置信息工具
文章目录
- 1. 介绍
- 2. 打印所有的jvm标志信息 jinfo -flags pid
- 3. 打印指定的jvm参数信息 jinfo -flag InitialHeapSize pid
- 4. 启用或者禁用指定的jvm参数 jinfo -flags [+|-]HeapDumpOnOutOfMemoryError pid
- 5. 打印系统参数信息 jinfo -sysprops pid
- 6. 打印以上所有配置信息 jinfo pid
jinfo(Configuration Info for Java)
1. 介绍
位置:jdk\bin
作用:
jinfo的作用是实时地查看和调整虚拟机的各项参数。
使用jps -v 可以查看虚拟机启动时显示指定的参数列表,但是如果想知道未被显示指定的参数的系统默认值,除了去找资料外,就只能使用jinfo的-flag选项进行查询了。
语法:
D:\javasoft\java_soft\jdk\bin>jinfo
Usage:jinfo [option] <pid>(to connect to running process)jinfo [option] <executable <core>(to connect to a core file)jinfo [option] [server_id@]<remote server IP or hostname>(to connect to remote debug server)where <option> is one of:-flag <name> to print the value of the named VM flag-flag [+|-]<name> to enable or disable the named VM flag-flag <name>=<value> to set the named VM flag to the given value-flags to print VM flags-sysprops to print Java system properties<no option> to print both of the above-h | -help to print this help messageD:\javasoft\java_soft\jdk\bin>jinfo -flag 8644
Usage:jinfo [option] <pid>(to connect to running process)jinfo [option] <executable <core>(to connect to a core file)jinfo [option] [server_id@]<remote server IP or hostname>(to connect to remote debug server)where <option> is one of:-flag <name> to print the value of the named VM flag-flag [+|-]<name> to enable or disable the named VM flag-flag <name>=<value> to set the named VM flag to the given value-flags to print VM flags-sysprops to print Java system properties<no option> to print both of the above-h | -help to print this help message
2. 打印所有的jvm标志信息 jinfo -flags pid
- Non-default VM flags: 非默认VM标志
- Command line: 命令行中指定的jvm参数
3. 打印指定的jvm参数信息 jinfo -flag InitialHeapSize pid
4. 启用或者禁用指定的jvm参数 jinfo -flags [+|-]HeapDumpOnOutOfMemoryError pid
我们运行一段程序,下面这段程序vm参数设置为:-Xms5m -Xmx5m,运行过程中会参数OOM,在运行过程中,我们添加vm参数:+HeapDumpOnOutOfMemoryError:发生OOM的时候,让程序打印堆dump文件
public class OOMTest {private static final int _1M = 1024 * 1024;public static void main(String[] args) throws InterruptedException {List<Object> list = new ArrayList<>();for (int i = 0; i < 100; i++) {TimeUnit.SECONDS.sleep(10);list.add(new byte[_1M]);}}
}
5. 打印系统参数信息 jinfo -sysprops pid
D:\javasoft\java_soft\jdk\bin>jinfo -sysprops 11552
Attaching to process ID 11552, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 25.271-b09
java.runtime.name = Java(TM) SE Runtime Environment
java.vm.version = 25.271-b09
sun.boot.library.path = D:\javasoft\java_soft\jdk\jre\bin
java.vendor.url = http://java.oracle.com/
java.vm.vendor = Oracle Corporation
path.separator = ;
file.encoding.pkg = sun.io
java.vm.name = Java HotSpot(TM) 64-Bit Server VM
sun.os.patch.level =
sun.java.launcher = SUN_STANDARD
user.script =
user.country = CN
user.dir = D:\project1\java8
java.vm.specification.name = Java Virtual Machine Specification
java.runtime.version = 1.8.0_271-b09
java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
os.arch = amd64
java.endorsed.dirs = D:\javasoft\java_soft\jdk\jre\lib\endorsed
line.separator =java.io.tmpdir = C:\Users\WANGCH~1\AppData\Local\Temp\
java.vm.specification.vendor = Oracle Corporation
user.variant =
os.name = Windows 10
sun.jnu.encoding = GBK
java.library.path = D:\javasoft\java_soft\jdk\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\javasoft\utils_soft\vmware\bin\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Python38\Scripts\;C:\Python38\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;D:\javasoft\java_soft\jdk\bin\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;D:\javasoft\mysql8\mysql-8.0.27-winx64\mysql-8.0.27-winx64\bin;D:\javasoft\apache-maven-3.2.1\bin;C:\ProgramData\chocolatey\bin;D:\javasoft\Git\cmd;D:\javasoft\Git\bin;C:\Program Files\Bandizip\;%JAVA_CLASS%\bin\;D:\javasoft\utils_soft\nodejs\;D:\javasoft\utils_soft\nodejs\node_global\node_modules;D:\tasks\doc_online_preview\libreoffice\program;D:\javasoft\java_soft\tomcat9\bin;"D:\javasoft\java_soft\jdk\bin;C:\Users\wangchuanxin\AppData\Local\Microsoft\WindowsApps";D:\javasoft\utils_soft\idea\IntelliJ IDEA 2023.1\bin;;C:\Users\wangchuanxin\AppData\Local\Microsoft\WindowsApps;D:\javasoft\utils_soft\vscode\Microsoft VS Code\bin;D:\javasoft\utils_soft\nodejs\node_global;D:\tasks\doc_online_preview\libreoffice\program;;D:\javasoft\utils_soft\webstorm\WebStorm 2023.1\bin;;.
java.specification.name = Java Platform API Specification
java.class.version = 52.0
sun.management.compiler = HotSpot 64-Bit Tiered Compilers
os.version = 10.0
user.home = C:\Users\xinliushijian
user.timezone = Asia/Shanghai
java.awt.printerjob = sun.awt.windows.WPrinterJob
file.encoding = UTF-8
java.specification.version = 1.8
user.name = wangchuanxin
java.class.path = D:\javasoft\java_soft\jdk\jre\lib\charsets.jar;D:\javasoft\java_soft\jdk\jre\lib\deploy.jar;D:\javasoft\java_soft\jdk\jre\lib\ext\access-bridge-64.jar;D:\javasoft\java_soft\jdk\jre\lib\ext\cldrdata.jar;D:\javasoft\java_soft\jdk\jre\lib\ext\dnsns.jar;D:\javasoft\java_soft\jdk\jre\lib\ext\jaccess.jar;D:\javasoft\java_soft\jdk\jre\lib\ext\jfxrt.jar;D:\javasoft\java_soft\jdk\jre\lib\ext\localedata.jar;D:\javasoft\java_soft\jdk\jre\lib\ext\nashorn.jar;D:\javasoft\java_soft\jdk\jre\lib\ext\sunec.jar;D:\javasoft\java_soft\jdk\jre\lib\ext\sunjce_provider.jar;D:\javasoft\java_soft\jdk\jre\lib\ext\sunmscapi.jar;D:\javasoft\java_soft\jdk\jre\lib\ext\sunpkcs11.jar;D:\javasoft\java_soft\jdk\jre\lib\ext\zipfs.jar;D:\javasoft\java_soft\jdk\jre\lib\javaws.jar;D:\javasoft\java_soft\jdk\jre\lib\jce.jar;D:\javasoft\java_soft\jdk\jre\lib\jfr.jar;D:\javasoft\java_soft\jdk\jre\lib\jfxswt.jar;D:\javasoft\java_soft\jdk\jre\lib\jsse.jar;D:\javasoft\java_soft\jdk\jre\lib\management-agent.jar;D:\javasoft\java_soft\jdk\jre\lib\plugin.jar;D:\javasoft\java_soft\jdk\jre\lib\resources.jar;D:\javasoft\java_soft\jdk\jre\lib\rt.jar;D:\project1\java8\java8\xin-javademo\target\classes;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\alibaba\druid-spring-boot-starter\1.2.16\druid-spring-boot-starter-1.2.16.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\alibaba\druid\1.2.16\druid-1.2.16.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\slf4j\slf4j-api\1.7.36\slf4j-api-1.7.36.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\boot\spring-boot-autoconfigure\2.7.1\spring-boot-autoconfigure-2.7.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\boot\spring-boot\2.7.1\spring-boot-2.7.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\boot\spring-boot-starter-data-redis\3.2.0\spring-boot-starter-data-redis-3.2.0.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\boot\spring-boot-starter\2.7.1\spring-boot-starter-2.7.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\boot\spring-boot-starter-logging\2.7.1\spring-boot-starter-logging-2.7.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\ch\qos\logback\logback-classic\1.2.11\logback-classic-1.2.11.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\ch\qos\logback\logback-core\1.2.11\logback-core-1.2.11.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\logging\log4j\log4j-to-slf4j\2.17.2\log4j-to-slf4j-2.17.2.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\logging\log4j\log4j-api\2.17.2\log4j-api-2.17.2.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\slf4j\jul-to-slf4j\1.7.36\jul-to-slf4j-1.7.36.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\yaml\snakeyaml\1.30\snakeyaml-1.30.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\io\lettuce\lettuce-core\6.1.8.RELEASE\lettuce-core-6.1.8.RELEASE.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\io\netty\netty-common\4.1.78.Final\netty-common-4.1.78.Final.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\io\netty\netty-handler\4.1.78.Final\netty-handler-4.1.78.Final.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\io\netty\netty-resolver\4.1.78.Final\netty-resolver-4.1.78.Final.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\io\netty\netty-buffer\4.1.78.Final\netty-buffer-4.1.78.Final.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\io\netty\netty-transport-native-unix-common\4.1.78.Final\netty-transport-native-unix-common-4.1.78.Final.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\io\netty\netty-codec\4.1.78.Final\netty-codec-4.1.78.Final.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\io\netty\netty-transport\4.1.78.Final\netty-transport-4.1.78.Final.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\io\projectreactor\reactor-core\3.4.19\reactor-core-3.4.19.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\reactivestreams\reactive-streams\1.0.4\reactive-streams-1.0.4.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\data\spring-data-redis\2.7.1\spring-data-redis-2.7.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\data\spring-data-keyvalue\2.7.1\spring-data-keyvalue-2.7.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\data\spring-data-commons\2.7.1\spring-data-commons-2.7.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\spring-oxm\5.3.21\spring-oxm-5.3.21.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\spring-context-support\5.3.21\spring-context-support-5.3.21.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\oracle\database\jdbc\ojdbc8\21.9.0.0\ojdbc8-21.9.0.0.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\github\yitter\yitter-idgenerator\1.0.6\yitter-idgenerator-1.0.6.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\commons\commons-collections4\4.4\commons-collections4-4.4.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\baomidou\mybatis-plus-core\3.4.0\mybatis-plus-core-3.4.0.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\baomidou\mybatis-plus-annotation\3.4.0\mybatis-plus-annotation-3.4.0.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\github\jsqlparser\jsqlparser\3.2\jsqlparser-3.2.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\mybatis\mybatis\3.5.5\mybatis-3.5.5.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\baomidou\mybatis-plus\3.4.0\mybatis-plus-3.4.0.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\baomidou\mybatis-plus-extension\3.4.0\mybatis-plus-extension-3.4.0.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\mybatis\mybatis-spring\2.0.5\mybatis-spring-2.0.5.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\google\guava\guava\32.1.2-jre\guava-32.1.2-jre.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\google\guava\failureaccess\1.0.1\failureaccess-1.0.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\checkerframework\checker-qual\3.33.0\checker-qual-3.33.0.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\google\errorprone\error_prone_annotations\2.18.0\error_prone_annotations-2.18.0.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\google\j2objc\j2objc-annotations\2.8\j2objc-annotations-2.8.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\alibaba\fastjson\1.2.80\fastjson-1.2.80.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\jakarta\xml\bind\jakarta.xml.bind-api\2.3.3\jakarta.xml.bind-api-2.3.3.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\jakarta\activation\jakarta.activation-api\1.2.2\jakarta.activation-api-1.2.2.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\spring-core\5.3.21\spring-core-5.3.21.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\spring-jcl\5.3.21\spring-jcl-5.3.21.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\projectlombok\lombok\1.18.24\lombok-1.18.24.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\mapstruct\mapstruct\1.5.3.Final\mapstruct-1.5.3.Final.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\mapstruct\mapstruct-processor\1.5.3.Final\mapstruct-processor-1.5.3.Final.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\alibaba\fastjson2\fastjson2\2.0.29\fastjson2-2.0.29.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\poi\poi\4.1.2\poi-4.1.2.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\commons-codec\commons-codec\1.15\commons-codec-1.15.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\commons\commons-math3\3.6.1\commons-math3-3.6.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\zaxxer\SparseBitSet\1.2\SparseBitSet-1.2.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\poi\poi-ooxml\4.1.2\poi-ooxml-4.1.2.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\poi\poi-ooxml-schemas\4.1.2\poi-ooxml-schemas-4.1.2.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\xmlbeans\xmlbeans\3.1.0\xmlbeans-3.1.0.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\commons\commons-compress\1.19\commons-compress-1.19.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\github\virtuald\curvesapi\1.06\curvesapi-1.06.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\alibaba\easyexcel\3.2.1\easyexcel-3.2.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\alibaba\easyexcel-core\3.2.1\easyexcel-core-3.2.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\alibaba\easyexcel-support\3.2.1\easyexcel-support-3.2.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\commons\commons-csv\1.8\commons-csv-1.8.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\ehcache\ehcache\3.10.0\ehcache-3.10.0.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\javax\cache\cache-api\1.1.1\cache-api-1.1.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\glassfish\jaxb\jaxb-runtime\2.3.6\jaxb-runtime-2.3.6.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\glassfish\jaxb\txw2\2.3.6\txw2-2.3.6.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\sun\istack\istack-commons-runtime\3.0.12\istack-commons-runtime-3.0.12.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\sun\activation\jakarta.activation\1.2.2\jakarta.activation-1.2.2.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\commons\commons-lang3\3.12.0\commons-lang3-3.12.0.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\fasterxml\jackson\core\jackson-databind\2.13.2.1\jackson-databind-2.13.2.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\fasterxml\jackson\core\jackson-annotations\2.13.3\jackson-annotations-2.13.3.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\fasterxml\jackson\core\jackson-core\2.13.3\jackson-core-2.13.3.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\commons-io\commons-io\2.4\commons-io-2.4.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\spring-context\5.3.19\spring-context-5.3.19.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\spring-aop\5.3.21\spring-aop-5.3.21.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\spring-beans\5.3.21\spring-beans-5.3.21.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\spring-expression\5.3.21\spring-expression-5.3.21.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\sonatype\sisu\sisu-inject-bean\2.3.0\sisu-inject-bean-2.3.0.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\sonatype\sisu\sisu-guice\3.1.0\sisu-guice-3.1.0-no_aop.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\sonatype\sisu\sisu-guava\0.9.9\sisu-guava-0.9.9.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\cn\hutool\hutool-all\5.5.1\hutool-all-5.5.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\spring-jdbc\5.3.18\spring-jdbc-5.3.18.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\spring-tx\5.3.21\spring-tx-5.3.21.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\aspectj\aspectjweaver\1.9.7\aspectjweaver-1.9.7.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\boot\spring-boot-starter-web\2.7.1\spring-boot-starter-web-2.7.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\boot\spring-boot-starter-json\2.7.1\spring-boot-starter-json-2.7.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.13.3\jackson-datatype-jdk8-2.13.3.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.13.3\jackson-datatype-jsr310-2.13.3.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.13.3\jackson-module-parameter-names-2.13.3.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\boot\spring-boot-starter-tomcat\2.7.1\spring-boot-starter-tomcat-2.7.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\tomcat\embed\tomcat-embed-core\9.0.64\tomcat-embed-core-9.0.64.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\tomcat\embed\tomcat-embed-el\9.0.64\tomcat-embed-el-9.0.64.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.64\tomcat-embed-websocket-9.0.64.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\spring-web\5.3.21\spring-web-5.3.21.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\spring-webmvc\5.3.21\spring-webmvc-5.3.21.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\baomidou\mybatis-plus-boot-starter\3.0.5\mybatis-plus-boot-starter-3.0.5.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\boot\spring-boot-starter-jdbc\2.7.1\spring-boot-starter-jdbc-2.7.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\zaxxer\HikariCP\4.0.3\HikariCP-4.0.3.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\boot\spring-boot-configuration-processor\2.7.1\spring-boot-configuration-processor-2.7.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\mysql\mysql-connector-java\8.0.23\mysql-connector-java-8.0.23.jar;D:\javasoft\utils_soft\idea\IntelliJ IDEA 2023.1\lib\idea_rt.jar
java.vm.specification.version = 1.8
sun.arch.data.model = 64
sun.java.command = com.xin.demo.threaddemo.bookdemo.OOMTest
java.home = D:\javasoft\java_soft\jdk\jre
user.language = zh
java.specification.vendor = Oracle Corporation
awt.toolkit = sun.awt.windows.WToolkit
java.vm.info = mixed mode
java.version = 1.8.0_271
java.ext.dirs = D:\javasoft\java_soft\jdk\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
sun.boot.class.path = D:\javasoft\java_soft\jdk\jre\lib\resources.jar;D:\javasoft\java_soft\jdk\jre\lib\rt.jar;D:\javasoft\java_soft\jdk\jre\lib\sunrsasign.jar;D:\javasoft\java_soft\jdk\jre\lib\jsse.jar;D:\javasoft\java_soft\jdk\jre\lib\jce.jar;D:\javasoft\java_soft\jdk\jre\lib\charsets.jar;D:\javasoft\java_soft\jdk\jre\lib\jfr.jar;D:\javasoft\java_soft\jdk\jre\classes
java.vendor = Oracle Corporation
file.separator = \
java.vendor.url.bug = http://bugreport.sun.com/bugreport/
sun.io.unicode.encoding = UnicodeLittle
sun.cpu.endian = little
sun.desktop = windows
sun.cpu.isalist = amd64
6. 打印以上所有配置信息 jinfo pid
D:\javasoft\java_soft\jdk\bin>jinfo 14016
Attaching to process ID 14016, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 25.271-b09
Java System Properties:java.runtime.name = Java(TM) SE Runtime Environment
java.vm.version = 25.271-b09
sun.boot.library.path = D:\javasoft\java_soft\jdk\jre\bin
java.vendor.url = http://java.oracle.com/
java.vm.vendor = Oracle Corporation
path.separator = ;
file.encoding.pkg = sun.io
java.vm.name = Java HotSpot(TM) 64-Bit Server VM
sun.os.patch.level =
sun.java.launcher = SUN_STANDARD
user.script =
user.country = CN
user.dir = D:\project1\java8
java.vm.specification.name = Java Virtual Machine Specification
java.runtime.version = 1.8.0_271-b09
java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
os.arch = amd64
java.endorsed.dirs = D:\javasoft\java_soft\jdk\jre\lib\endorsed
line.separator =java.io.tmpdir = C:\Users\WANGCH~1\AppData\Local\Temp\
java.vm.specification.vendor = Oracle Corporation
user.variant =
os.name = Windows 10
sun.jnu.encoding = GBK
java.library.path = D:\javasoft\java_soft\jdk\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\javasoft\utils_soft\vmware\bin\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Python38\Scripts\;C:\Python38\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;D:\javasoft\java_soft\jdk\bin\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;D:\javasoft\mysql8\mysql-8.0.27-winx64\mysql-8.0.27-winx64\bin;D:\javasoft\apache-maven-3.2.1\bin;C:\ProgramData\chocolatey\bin;D:\javasoft\Git\cmd;D:\javasoft\Git\bin;C:\Program Files\Bandizip\;%JAVA_CLASS%\bin\;D:\javasoft\utils_soft\nodejs\;D:\javasoft\utils_soft\nodejs\node_global\node_modules;D:\tasks\doc_online_preview\libreoffice\program;D:\javasoft\java_soft\tomcat9\bin;"D:\javasoft\java_soft\jdk\bin;C:\Users\wangchuanxin\AppData\Local\Microsoft\WindowsApps";D:\javasoft\utils_soft\idea\IntelliJ IDEA 2023.1\bin;;C:\Users\wangchuanxin\AppData\Local\Microsoft\WindowsApps;D:\javasoft\utils_soft\vscode\Microsoft VS Code\bin;D:\javasoft\utils_soft\nodejs\node_global;D:\tasks\doc_online_preview\libreoffice\program;;D:\javasoft\utils_soft\webstorm\WebStorm 2023.1\bin;;.
java.specification.name = Java Platform API Specification
java.class.version = 52.0
sun.management.compiler = HotSpot 64-Bit Tiered Compilers
os.version = 10.0
user.home = C:\Users\wangchuanxin
user.timezone = Asia/Shanghai
java.awt.printerjob = sun.awt.windows.WPrinterJob
file.encoding = UTF-8
java.specification.version = 1.8
user.name = xinliushijian
java.class.path = D:\javasoft\java_soft\jdk\jre\lib\charsets.jar;D:\javasoft\java_soft\jdk\jre\lib\deploy.jar;D:\javasoft\java_soft\jdk\jre\lib\ext\access-bridge-64.jar;D:\javasoft\java_soft\jdk\jre\lib\ext\cldrdata.jar;D:\javasoft\java_soft\jdk\jre\lib\ext\dnsns.jar;D:\javasoft\java_soft\jdk\jre\lib\ext\jaccess.jar;D:\javasoft\java_soft\jdk\jre\lib\ext\jfxrt.jar;D:\javasoft\java_soft\jdk\jre\lib\ext\localedata.jar;D:\javasoft\java_soft\jdk\jre\lib\ext\nashorn.jar;D:\javasoft\java_soft\jdk\jre\lib\ext\sunec.jar;D:\javasoft\java_soft\jdk\jre\lib\ext\sunjce_provider.jar;D:\javasoft\java_soft\jdk\jre\lib\ext\sunmscapi.jar;D:\javasoft\java_soft\jdk\jre\lib\ext\sunpkcs11.jar;D:\javasoft\java_soft\jdk\jre\lib\ext\zipfs.jar;D:\javasoft\java_soft\jdk\jre\lib\javaws.jar;D:\javasoft\java_soft\jdk\jre\lib\jce.jar;D:\javasoft\java_soft\jdk\jre\lib\jfr.jar;D:\javasoft\java_soft\jdk\jre\lib\jfxswt.jar;D:\javasoft\java_soft\jdk\jre\lib\jsse.jar;D:\javasoft\java_soft\jdk\jre\lib\management-agent.jar;D:\javasoft\java_soft\jdk\jre\lib\plugin.jar;D:\javasoft\java_soft\jdk\jre\lib\resources.jar;D:\javasoft\java_soft\jdk\jre\lib\rt.jar;D:\project1\java8\java8\xin-javademo\target\classes;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\alibaba\druid-spring-boot-starter\1.2.16\druid-spring-boot-starter-1.2.16.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\alibaba\druid\1.2.16\druid-1.2.16.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\slf4j\slf4j-api\1.7.36\slf4j-api-1.7.36.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\boot\spring-boot-autoconfigure\2.7.1\spring-boot-autoconfigure-2.7.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\boot\spring-boot\2.7.1\spring-boot-2.7.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\boot\spring-boot-starter-data-redis\3.2.0\spring-boot-starter-data-redis-3.2.0.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\boot\spring-boot-starter\2.7.1\spring-boot-starter-2.7.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\boot\spring-boot-starter-logging\2.7.1\spring-boot-starter-logging-2.7.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\ch\qos\logback\logback-classic\1.2.11\logback-classic-1.2.11.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\ch\qos\logback\logback-core\1.2.11\logback-core-1.2.11.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\logging\log4j\log4j-to-slf4j\2.17.2\log4j-to-slf4j-2.17.2.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\logging\log4j\log4j-api\2.17.2\log4j-api-2.17.2.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\slf4j\jul-to-slf4j\1.7.36\jul-to-slf4j-1.7.36.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\yaml\snakeyaml\1.30\snakeyaml-1.30.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\io\lettuce\lettuce-core\6.1.8.RELEASE\lettuce-core-6.1.8.RELEASE.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\io\netty\netty-common\4.1.78.Final\netty-common-4.1.78.Final.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\io\netty\netty-handler\4.1.78.Final\netty-handler-4.1.78.Final.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\io\netty\netty-resolver\4.1.78.Final\netty-resolver-4.1.78.Final.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\io\netty\netty-buffer\4.1.78.Final\netty-buffer-4.1.78.Final.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\io\netty\netty-transport-native-unix-common\4.1.78.Final\netty-transport-native-unix-common-4.1.78.Final.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\io\netty\netty-codec\4.1.78.Final\netty-codec-4.1.78.Final.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\io\netty\netty-transport\4.1.78.Final\netty-transport-4.1.78.Final.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\io\projectreactor\reactor-core\3.4.19\reactor-core-3.4.19.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\reactivestreams\reactive-streams\1.0.4\reactive-streams-1.0.4.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\data\spring-data-redis\2.7.1\spring-data-redis-2.7.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\data\spring-data-keyvalue\2.7.1\spring-data-keyvalue-2.7.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\data\spring-data-commons\2.7.1\spring-data-commons-2.7.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\spring-oxm\5.3.21\spring-oxm-5.3.21.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\spring-context-support\5.3.21\spring-context-support-5.3.21.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\oracle\database\jdbc\ojdbc8\21.9.0.0\ojdbc8-21.9.0.0.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\github\yitter\yitter-idgenerator\1.0.6\yitter-idgenerator-1.0.6.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\commons\commons-collections4\4.4\commons-collections4-4.4.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\baomidou\mybatis-plus-core\3.4.0\mybatis-plus-core-3.4.0.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\baomidou\mybatis-plus-annotation\3.4.0\mybatis-plus-annotation-3.4.0.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\github\jsqlparser\jsqlparser\3.2\jsqlparser-3.2.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\mybatis\mybatis\3.5.5\mybatis-3.5.5.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\baomidou\mybatis-plus\3.4.0\mybatis-plus-3.4.0.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\baomidou\mybatis-plus-extension\3.4.0\mybatis-plus-extension-3.4.0.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\mybatis\mybatis-spring\2.0.5\mybatis-spring-2.0.5.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\google\guava\guava\32.1.2-jre\guava-32.1.2-jre.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\google\guava\failureaccess\1.0.1\failureaccess-1.0.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\checkerframework\checker-qual\3.33.0\checker-qual-3.33.0.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\google\errorprone\error_prone_annotations\2.18.0\error_prone_annotations-2.18.0.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\google\j2objc\j2objc-annotations\2.8\j2objc-annotations-2.8.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\alibaba\fastjson\1.2.80\fastjson-1.2.80.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\jakarta\xml\bind\jakarta.xml.bind-api\2.3.3\jakarta.xml.bind-api-2.3.3.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\jakarta\activation\jakarta.activation-api\1.2.2\jakarta.activation-api-1.2.2.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\spring-core\5.3.21\spring-core-5.3.21.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\spring-jcl\5.3.21\spring-jcl-5.3.21.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\projectlombok\lombok\1.18.24\lombok-1.18.24.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\mapstruct\mapstruct\1.5.3.Final\mapstruct-1.5.3.Final.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\mapstruct\mapstruct-processor\1.5.3.Final\mapstruct-processor-1.5.3.Final.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\alibaba\fastjson2\fastjson2\2.0.29\fastjson2-2.0.29.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\poi\poi\4.1.2\poi-4.1.2.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\commons-codec\commons-codec\1.15\commons-codec-1.15.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\commons\commons-math3\3.6.1\commons-math3-3.6.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\zaxxer\SparseBitSet\1.2\SparseBitSet-1.2.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\poi\poi-ooxml\4.1.2\poi-ooxml-4.1.2.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\poi\poi-ooxml-schemas\4.1.2\poi-ooxml-schemas-4.1.2.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\xmlbeans\xmlbeans\3.1.0\xmlbeans-3.1.0.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\commons\commons-compress\1.19\commons-compress-1.19.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\github\virtuald\curvesapi\1.06\curvesapi-1.06.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\alibaba\easyexcel\3.2.1\easyexcel-3.2.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\alibaba\easyexcel-core\3.2.1\easyexcel-core-3.2.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\alibaba\easyexcel-support\3.2.1\easyexcel-support-3.2.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\commons\commons-csv\1.8\commons-csv-1.8.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\ehcache\ehcache\3.10.0\ehcache-3.10.0.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\javax\cache\cache-api\1.1.1\cache-api-1.1.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\glassfish\jaxb\jaxb-runtime\2.3.6\jaxb-runtime-2.3.6.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\glassfish\jaxb\txw2\2.3.6\txw2-2.3.6.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\sun\istack\istack-commons-runtime\3.0.12\istack-commons-runtime-3.0.12.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\sun\activation\jakarta.activation\1.2.2\jakarta.activation-1.2.2.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\commons\commons-lang3\3.12.0\commons-lang3-3.12.0.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\fasterxml\jackson\core\jackson-databind\2.13.2.1\jackson-databind-2.13.2.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\fasterxml\jackson\core\jackson-annotations\2.13.3\jackson-annotations-2.13.3.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\fasterxml\jackson\core\jackson-core\2.13.3\jackson-core-2.13.3.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\commons-io\commons-io\2.4\commons-io-2.4.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\spring-context\5.3.19\spring-context-5.3.19.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\spring-aop\5.3.21\spring-aop-5.3.21.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\spring-beans\5.3.21\spring-beans-5.3.21.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\spring-expression\5.3.21\spring-expression-5.3.21.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\sonatype\sisu\sisu-inject-bean\2.3.0\sisu-inject-bean-2.3.0.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\sonatype\sisu\sisu-guice\3.1.0\sisu-guice-3.1.0-no_aop.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\sonatype\sisu\sisu-guava\0.9.9\sisu-guava-0.9.9.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\cn\hutool\hutool-all\5.5.1\hutool-all-5.5.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\spring-jdbc\5.3.18\spring-jdbc-5.3.18.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\spring-tx\5.3.21\spring-tx-5.3.21.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\aspectj\aspectjweaver\1.9.7\aspectjweaver-1.9.7.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\boot\spring-boot-starter-web\2.7.1\spring-boot-starter-web-2.7.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\boot\spring-boot-starter-json\2.7.1\spring-boot-starter-json-2.7.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.13.3\jackson-datatype-jdk8-2.13.3.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.13.3\jackson-datatype-jsr310-2.13.3.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.13.3\jackson-module-parameter-names-2.13.3.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\boot\spring-boot-starter-tomcat\2.7.1\spring-boot-starter-tomcat-2.7.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\tomcat\embed\tomcat-embed-core\9.0.64\tomcat-embed-core-9.0.64.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\tomcat\embed\tomcat-embed-el\9.0.64\tomcat-embed-el-9.0.64.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.64\tomcat-embed-websocket-9.0.64.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\spring-web\5.3.21\spring-web-5.3.21.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\spring-webmvc\5.3.21\spring-webmvc-5.3.21.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\baomidou\mybatis-plus-boot-starter\3.0.5\mybatis-plus-boot-starter-3.0.5.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\boot\spring-boot-starter-jdbc\2.7.1\spring-boot-starter-jdbc-2.7.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\com\zaxxer\HikariCP\4.0.3\HikariCP-4.0.3.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\org\springframework\boot\spring-boot-configuration-processor\2.7.1\spring-boot-configuration-processor-2.7.1.jar;D:\javasoft\apache-maven-3.2.1\mavenrepository\mysql\mysql-connector-java\8.0.23\mysql-connector-java-8.0.23.jar;D:\javasoft\utils_soft\idea\IntelliJ IDEA 2023.1\lib\idea_rt.jar
java.vm.specification.version = 1.8
sun.arch.data.model = 64
sun.java.command = com.xin.demo.threaddemo.bookdemo.OOMTest
java.home = D:\javasoft\java_soft\jdk\jre
user.language = zh
java.specification.vendor = Oracle Corporation
awt.toolkit = sun.awt.windows.WToolkit
java.vm.info = mixed mode
java.version = 1.8.0_271
java.ext.dirs = D:\javasoft\java_soft\jdk\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
sun.boot.class.path = D:\javasoft\java_soft\jdk\jre\lib\resources.jar;D:\javasoft\java_soft\jdk\jre\lib\rt.jar;D:\javasoft\java_soft\jdk\jre\lib\sunrsasign.jar;D:\javasoft\java_soft\jdk\jre\lib\jsse.jar;D:\javasoft\java_soft\jdk\jre\lib\jce.jar;D:\javasoft\java_soft\jdk\jre\lib\charsets.jar;D:\javasoft\java_soft\jdk\jre\lib\jfr.jar;D:\javasoft\java_soft\jdk\jre\classes
java.vendor = Oracle Corporation
file.separator = \
java.vendor.url.bug = http://bugreport.sun.com/bugreport/
sun.io.unicode.encoding = UnicodeLittle
sun.cpu.endian = little
sun.desktop = windows
sun.cpu.isalist = amd64VM Flags:
Non-default VM flags: -XX:CICompilerCount=4 -XX:InitialHeapSize=6291456 -XX:MaxHeapSize=6291456 -XX:MaxNewSize=2097152 -XX:MinHeapDeltaBytes=524288 -XX:NewSize=2097152 -XX:OldSize=4194304 -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseFastUnorderedTimeStamps -XX:-UseLargePagesIndividualAllocation -XX:+UseParallelGC
Command line: -Xms5m -Xmx5m -javaagent:D:\javasoft\utils_soft\idea\IntelliJ IDEA 2023.1\lib\idea_rt.jar=56221:D:\javasoft\utils_soft\idea\IntelliJ IDEA 2023.1\bin -Dfile.encoding=UTF-8
相关文章:

[JDK工具-5] jinfo jvm配置信息工具
文章目录 1. 介绍2. 打印所有的jvm标志信息 jinfo -flags pid3. 打印指定的jvm参数信息 jinfo -flag InitialHeapSize pid4. 启用或者禁用指定的jvm参数 jinfo -flags [|-]HeapDumpOnOutOfMemoryError pid5. 打印系统参数信息 jinfo -sysprops pid6. 打印以上所有配置信息 jinf…...

【Linux系统编程】进程概念、进程排队、进程标识符、进程状态
目录 什么是进程? 浅谈进程排队 简述进程属性 进程属性之进程标识符 进程操作之进程创建 初识fork fork返回值 原理角度理解fork fork的应用 进程属性之进程状态 再谈进程排队 进程状态 运行状态 阻塞状态 挂起状态 Linux下的进程状态 “R”(运行状…...

Java与GO语言对比分析
你是不是总听到go与java种种对比,其中在高并发的服务器端应用场景会有人推荐你使用go而不是 java。 那我们就从两者运行原理和基本并发设计来对比分析,看看到底怎么回事。 运行原理对比 java java 中 jdk 已经帮我们屏蔽操作系统区别。 只要我们下载并…...

Linux文件系统原理
Linux文件系统 冯诺依曼在1945年提出计算机的五大组成部分 运算器:CPU 控制器:CPU 存储器:内存和硬盘 输入设备:鼠标、硬盘 输出设备:显示器一、硬盘结构 机械硬盘结构 扇区:硬盘的最小存储单位ÿ…...
初识Spring Cache:如何简化你的缓存处理?
文章目录 1、Spring Cache介绍2、 常用注解3、 使用案例 1、Spring Cache介绍 Spring Cache 是一个框架,实现了基于注解的缓存功能,只需要简单地加一个注解,就能实现缓存功能。 Spring Cache 提供了一层抽象,底层可以切换不同的…...

攻防世界[GoodRe]
攻防世界[GoodRe] 学到知识: 逆向的精髓:三分懂,七分蒙。TEA 算法快速识别(蒙): 数据处理的形式:进入加密时的数据和加密结束后的数据,处理时数据的分组等等,都能用来…...

IntelliJ IDEA实用插件:轻松生成时序图和类图
IntelliJ IDEA生成时序图、类图 一、SequenceDiagram1.1 插件安装1.2 插件设置1.3 生成时序图 二、PlantUML Integration2.1 插件安装2.2 插件设置2.3 生成类图 在软件建模课程的学习中,大家学习过多种图形表示方法,这些图形主要用于软件产品设计。在传统…...
SpringBoot + Mybatis-Plus中乐观锁实现
悲观锁 悲观锁是一种悲观思想,它认为数据很可能会被别人所修改 所以总会对数据进行上锁,读操作和写操作都会上锁,性能较低,使用较少! 乐观锁 乐观锁是一种乐观思想,它认为数据并不一定会被别人所修改 所以…...

设计模式深度解析:分布式与中心化,IT界两大巨头“华山论剑”
🌈 个人主页:danci_ 🔥 系列专栏:《设计模式》《MYSQL应用》 💪🏻 制定明确可量化的目标,坚持默默的做事。 ✨IT界的两大巨头交锋✨ 👋 在IT界的广阔天地中,有两座…...

转行一年了
关注、星标公众号,直达精彩内容 ID:技术让梦想更伟大 整理:李肖遥 来公司一年了。 说是转行其实还是在半导体行业,熟悉我的朋友知道 ,我在18年开始进入半导体行业,那个时候想着行业很重要,站对了…...
【LeetCode 151】反转字符串中的单词
1. 题目 2. 分析 这题要是用Python写,就非常简单了。 3. 代码 class Solution:def reverseWords(self, s: str) -> str:s " ".join(reversed(s.strip().split()))return s...

Behind the Code:Polkadot 如何重塑 Web3 未来
2024 年 5 月 17 日 Polkadot 生态 Behind the Code 第二季第一集 《创造 Web3 的未来》正式上线。第一集深入探讨了 Polkadot 和 Web3 技术在解决数字身份、数据所有权和去中心化治理方面的巨大潜力。 🔍 查看完整视频: https://youtu.be/_gP-M5nUidc?…...

for循环里如果std::pair的类型写不对,可能会造成性能损失
第一版 std::map<int, int> t;t.emplace(1, 1);for (const std::pair<int,int>& data : t){int i 0;std::ignore i;}中间留一些空格,是因为ms在调试的时候,尤其是模板比较多的时候,经常断点的行号有问题。比如第5行的断点&…...

【Linux】Linux的基本指令_2
文章目录 二、基本指令8. man9. nano 和 cat10. cp11. mv12. echo 和 > 和 >> 和 <13. more 和 less14. head 和 tail 和 | 未完待续 二、基本指令 8. man Linux的命令有很多参数,我们不可能全记住,我们可以通过查看联机手册获取帮助。访问…...
Effective C++(3)
3.资源管理 条款13:以对象管理资源 以对象管理资源对于传统的堆资源管理,我们需要使用成对的new和delete,这样若忘记delete就会造成内存泄露。因此,我们应尽可能以对象管理资源,并采用RAII(Resource Acqu…...

自定义RedisTemplate序列化器
大纲 RedisSerializerFastJsonRedisSerializer自定义二进制序列化器总结代码 在《RedisTemplate保存二进制数据的方法》一文中,我们将Java对象通过《使用java.io库序列化Java对象》中介绍的方法转换为二进制数组,然后保存到Redis中。实际可以通过定制Red…...
Flutter 中的 CupertinoContextMenuAction 小部件:全面指南
Flutter 中的 CupertinoContextMenuAction 小部件:全面指南 在 Flutter 中,CupertinoContextMenuAction 是一个专门用于构建 iOS 风格的上下文菜单选项的组件。它为用户提供了一种便捷的方式来执行与特定项目相关的操作,例如在列表项上长按可…...
Element-Ul快速入门
引言 Element UI是一个vue.js的桌面UI库。它提供了一套丰富、灵活和实用的UI组件,使开发者能以最少的时间和代码量完成复杂的界面设计。本文将会介明如何快速上手Element UI。 安装和基本使用 首先,你需要在你的项目中安装Element UI。如果你已经安装…...
Django的模型层——2模型实例
1. 类的属性 objects:是Manager类型的对象,用于与数据库进行交互 当定义模型类时没有指定管理器,则Django会为模型类提供一个名为objects的管理器 支持明确指定模型类的管理器 class BookInfo(models.Model):...books models.Manager()当为…...

Python筑基之旅-MySQL数据库(四)
目录 一、数据表操作 1、新增记录 1-1、用mysql-connector-python库 1-2、用PyMySQL库 1-3、用PeeWee库 1-4、用SQLAlchemy库 2、删除记录 2-1、用mysql-connector-python库 2-2、用PyMySQL库 2-3、用PeeWee库 2-4、用SQLAlchemy库 3、修改记录 3-1、用mysql-conn…...

国防科技大学计算机基础课程笔记02信息编码
1.机内码和国标码 国标码就是我们非常熟悉的这个GB2312,但是因为都是16进制,因此这个了16进制的数据既可以翻译成为这个机器码,也可以翻译成为这个国标码,所以这个时候很容易会出现这个歧义的情况; 因此,我们的这个国…...

业务系统对接大模型的基础方案:架构设计与关键步骤
业务系统对接大模型:架构设计与关键步骤 在当今数字化转型的浪潮中,大语言模型(LLM)已成为企业提升业务效率和创新能力的关键技术之一。将大模型集成到业务系统中,不仅可以优化用户体验,还能为业务决策提供…...

手游刚开服就被攻击怎么办?如何防御DDoS?
开服初期是手游最脆弱的阶段,极易成为DDoS攻击的目标。一旦遭遇攻击,可能导致服务器瘫痪、玩家流失,甚至造成巨大经济损失。本文为开发者提供一套简洁有效的应急与防御方案,帮助快速应对并构建长期防护体系。 一、遭遇攻击的紧急应…...
反向工程与模型迁移:打造未来商品详情API的可持续创新体系
在电商行业蓬勃发展的当下,商品详情API作为连接电商平台与开发者、商家及用户的关键纽带,其重要性日益凸显。传统商品详情API主要聚焦于商品基本信息(如名称、价格、库存等)的获取与展示,已难以满足市场对个性化、智能…...

微软PowerBI考试 PL300-选择 Power BI 模型框架【附练习数据】
微软PowerBI考试 PL300-选择 Power BI 模型框架 20 多年来,Microsoft 持续对企业商业智能 (BI) 进行大量投资。 Azure Analysis Services (AAS) 和 SQL Server Analysis Services (SSAS) 基于无数企业使用的成熟的 BI 数据建模技术。 同样的技术也是 Power BI 数据…...

Redis相关知识总结(缓存雪崩,缓存穿透,缓存击穿,Redis实现分布式锁,如何保持数据库和缓存一致)
文章目录 1.什么是Redis?2.为什么要使用redis作为mysql的缓存?3.什么是缓存雪崩、缓存穿透、缓存击穿?3.1缓存雪崩3.1.1 大量缓存同时过期3.1.2 Redis宕机 3.2 缓存击穿3.3 缓存穿透3.4 总结 4. 数据库和缓存如何保持一致性5. Redis实现分布式…...
在四层代理中还原真实客户端ngx_stream_realip_module
一、模块原理与价值 PROXY Protocol 回溯 第三方负载均衡(如 HAProxy、AWS NLB、阿里 SLB)发起上游连接时,将真实客户端 IP/Port 写入 PROXY Protocol v1/v2 头。Stream 层接收到头部后,ngx_stream_realip_module 从中提取原始信息…...

【SQL学习笔记1】增删改查+多表连接全解析(内附SQL免费在线练习工具)
可以使用Sqliteviz这个网站免费编写sql语句,它能够让用户直接在浏览器内练习SQL的语法,不需要安装任何软件。 链接如下: sqliteviz 注意: 在转写SQL语法时,关键字之间有一个特定的顺序,这个顺序会影响到…...
Spring Boot+Neo4j知识图谱实战:3步搭建智能关系网络!
一、引言 在数据驱动的背景下,知识图谱凭借其高效的信息组织能力,正逐步成为各行业应用的关键技术。本文聚焦 Spring Boot与Neo4j图数据库的技术结合,探讨知识图谱开发的实现细节,帮助读者掌握该技术栈在实际项目中的落地方法。 …...

tree 树组件大数据卡顿问题优化
问题背景 项目中有用到树组件用来做文件目录,但是由于这个树组件的节点越来越多,导致页面在滚动这个树组件的时候浏览器就很容易卡死。这种问题基本上都是因为dom节点太多,导致的浏览器卡顿,这里很明显就需要用到虚拟列表的技术&…...