文章目录
- 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