[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 message

D:\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 = amd64

VM 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

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:/a/646960.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

蓝桥楼赛第30期-Python-第三天赛题 统计学习数据题解

楼赛 第30期 Python 模块大比拼 统计学习数据 介绍 JSON&#xff08;JavaScript Object Notation, /ˈdʒeɪsən/&#xff09;是一种轻量级的数据交换格式&#xff0c;最初是作为 JavaScript 的子集被发明的&#xff0c;但目前已独立于编程语言之外&#xff0c;成为了通用的…

加拿大门户媒体《金融邮报》《埃德蒙顿日报》新闻媒体投放

介绍 加拿大媒体广告投放是企业宣传推广的重要手段之一。在加拿大&#xff0c;主流媒体包括《金融邮报》和《埃德蒙顿日报》。《金融邮报》是加拿大唯一的全国性英文金融日报&#xff0c;总部位于多伦多&#xff0c;具有丰富的金融消息资源&#xff0c;可反映加拿大商界各方面…

解决Jupyter运行代码显示Kernel Restarting的错误

在Jupyter notebook上运行代码时发现如下错误&#xff1a; 使用VS Code运行在日志表中发现错误存在&#xff1a; 它表明在初始化"libiomp5md.dll"库时发生问题&#xff0c;因为该库已经被初始化过了&#xff0c;这个错误可能是由于程序中重复初始化OpenMP库导致的&am…

ZDH-智能营销-插件服务

目录 主题 项目源码 预览地址 安装包下载地址 插件服务 插件服务使用场景 插件服务日志 感谢支持 主题 本篇文章主要介绍ZDH-智能营销平台下的插件服务,包含插件的应用场景 项目源码 zdh_web: GitHub - zhaoyachao/zdh_web: 大数据采集,抽取平台 zdh_magic_mirror: …

Spring从零开始学使用系列(四)之@PostConstruct和@PreDestroy注解的使用

如果各位老爷觉得可以&#xff0c;请点赞收藏评论&#xff0c;谢谢啦&#xff01;&#xff01; 文章中涉及到的图片均由AI生成 公众号在最下方&#xff01;&#xff01;&#xff01; 目录 1. 介绍 1.1 PostConstruct概述 1.2 PreDestroy概述 2. 基本用法 2.1 注册CommonAnn…

微信小程序基础 -- 小程序UI组件(5)

小程序UI组件 1.小程序UI组件概述 开发文档&#xff1a;https://developers.weixin.qq.com/miniprogram/dev/framework/view/component.html 什么是组件&#xff1a; 组件是视图层的基本组成单元。 组件自带一些功能与微信风格一致的样式。 一个组件通常包括 开始标签 和 结…

HTTP的由来以及发展史

HTML&HTML5的学习探索 01、Html的由来和发展史 01-01、Html的由来 HTML的英文全称是 Hypertext Marked Language&#xff0c;即超文本标记语言。HTML是由Web的发明者 Tim Berners-Lee&#xff08;蒂姆伯纳斯李&#xff09;于1990年创立的一种标记语言&#xff0c; 他是万…

从程序被SQL注入来MyBatis 再谈 #{} 与 ${} 的区别

缘由 最近在的一个项目上面&#xff0c;发现有人在给我搞 SQL 注入&#xff0c;我真的想说我那么点资源测试用的阿里云服务器&#xff0c;个人估计哈&#xff0c;估计能抗住他的请求。狗头.png 系统上面的截图 数据库截图 说句实在的&#xff0c;看到这个之后我立马就是在…

《Python源码剖析》之pyc文件

前言 前面我们主要围绕pyObject和pyTypeObject聊完了python的内建对象部分&#xff0c;现在我们将开启新的篇章—python虚拟机&#xff0c;将聚焦在python的执行部分&#xff0c;搞懂从“代码”到“执行”的过程。开启新的篇章之前&#xff0c;你也许会有一个疑惑&#xff1a;我…

VLAN高级特性

1.VLAN聚合 &#xff08;1&#xff09;VLAN聚合产生的技术背景 &#xff08;2&#xff09;VLAN聚合概述 &#xff08;3&#xff09;VLAN聚合的原理 多个Sub-VLAN共享一个网关地址&#xff0c;节约了子网网络地址、子网定向广播地址、子网缺省网关地址&#xff0c;且各Sub-VLAN…

C#调用HttpClient.SendAsync报错:System.Net.Http.HttpRequestException: 发送请求时出错。

C#调用HttpClient.SendAsync报错&#xff1a;System.Net.Http.HttpRequestException: 发送请求时出错。 var response await client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead, cancellationToken);问题出在SSL/TLS&#xff0c;Windows Server 2012不支持…

MybatisPlus中自定义sql

背景 在开发过程中&#xff0c;可能会出现除了where条件&#xff0c;其它sql比较复杂&#xff0c;这时候就需要用到自定义sql了。 问题 如&#xff1a;用户状态为正常的数据年龄加一&#xff08;所有用户年龄加一&#xff09; 数据库中sql&#xff1a; UPDATE USER SET…

【Linux】TCP协议【下一】{三次握手/四次挥手的深度解读==状态变化}

文章目录 本篇知识需要有TCP协议【中】的知识&#xff01;详情点击&#x1f447;1.测试一&#xff1a;服务器start函数不定义任何行为&#xff08;不调用accept&#xff09;的三次握手状态变化int listen(int sockfd, int backlog);的backlog参数全连接队列当全连接队列已满&am…

异方差的Stata操作(计量114)

以数据集 nerlove.dta 为例&#xff0c;演示如何在 Stata 中处理异方差。 此数据集包括以下变量&#xff1a; tc ( 总成本 ) &#xff1b; q ( 总产量 ) &#xff1b; pl ( 工资率 ) &#xff1b; pk ( 资本的使用成本 ) &#xff1b; pf ( 燃料价格 ) &#xff1b; …

Cyber Weekly #8

赛博新闻 1、微软召开年度发布会Microsoft Build 2024 本周&#xff08;5.22&#xff09;微软召开了年度发布会&#xff0c;Microsoft Build 2024&#xff0c;发布了包括大杀器 Copilot Studio 在内的 50 项更新。主要包括&#xff1a; 硬件层面&#xff1a;与英伟达 & A…

Python的pip配置、程序运行、生成exe文件

一、安装Python 通过官网下载对应的版本&#xff0c;安装即可。 下载地址&#xff1a;Download Python | Python.org Python标准库查看&#xff08;Python自带库&#xff09; Python 标准库文档 安装Python的时候&#xff0c;如果选第二个自定义安装要记得勾选安装pip 二、…

go-zero 实战(4)

中间件 在 userapi 项目中引入中间件。go项目中的中间可以处理请求之前和之后的逻辑。 1. 在 userapi/internal目录先创建 middlewares目录&#xff0c;并创建 user.go文件 package middlewaresimport ("github.com/zeromicro/go-zero/core/logx""net/http&q…

返回枚举类给前端

1. 前言 在实际开发过程中&#xff0c;前端的下拉框或者单选按钮的内容通常的需要和后端匹配的&#xff0c;故一般会由后端将下拉框的内容或单选框的内容传给前端&#xff0c;而这些内容在后端一般是由枚举类存储的&#xff0c;如果后端直接返回枚举类&#xff0c;返回结果将会…

民国漫画杂志《时代漫画》第24期.PDF

时代漫画24.PDF: https://url03.ctfile.com/f/1779803-1248635000-177187?p9586 (访问密码: 9586) 《时代漫画》的杂志在1934年诞生了&#xff0c;截止1937年6月战争来临被迫停刊共发行了39期。 ps: 资源来源网络!

基于YOLOv8的车牌检测与识别(CCPD2020数据集)

前言 本篇博客主要记录在autodl服务器中基于yolov8实现车牌检测与识别&#xff0c;以下记录实现全过程~ yolov8源码&#xff1a;GitHub - ultralytics/ultralytics: NEW - YOLOv8 &#x1f680; in PyTorch > ONNX > OpenVINO > CoreML > TFLite 一、环境配置 …