《jdk8u源码分析》_JAVA_LAUNCHER_DEBUG日志

public class Test {
    public static void main(String args[]) {
        System.out.println("++++++++++++++++++ BEGIN ++++++++++++++++++");
        int i = 1;
        while(true) {
            System.out.println(String.format("##                  %3d                  ##", i));
            if (i == 10) {
                break;
            }
            try {
                Thread.sleep(1000);
            } catch (Exception e) {
                System.out.println(e.getMessage());
            }
            i++;
        }
        System.out.println("++++++++++++++++++ END ++++++++++++++++++");
    }
}
D:\workdir\study\out\artifacts\test>java -jar test.jar
Windows original main args:
wwwd_args[0] = java
wwwd_args[1] = -jar
wwwd_args[2] = test.jar
----_JAVA_LAUNCHER_DEBUG----
Launcher state:
        debug:on
        javargs:off
        program name:java
        launcher name:java
        javaw:off
        fullversion:1.8.0_202-ea-b03
        dotversion:1.8
        ergo_policy:DEFAULT_ERGONOMICS_POLICY
Command line args:
argv[0] = java
argv[1] = -jar
argv[2] = test.jar
JRE-Version = 1.8.0_202, JRE-Restrict-Search = false Selected = C:\Tools\Java\open-jre1.8.0_202
ExecJRE: old: C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe
ExecJRE: new: C:\Tools\Java\open-jre1.8.0_202
ReExec Command: C:\Tools\Java\open-jre1.8.0_202\bin\java.exe (C:\Tools\Java\open-jre1.8.0_202\bin\java.exe)
ReExec Args: -jar test.jar
Windows original main args:
wwwd_args[0] = C:\Tools\Java\open-jre1.8.0_202\bin\java.exe
wwwd_args[1] = -jar
wwwd_args[2] = test.jar
----_JAVA_LAUNCHER_DEBUG----
Launcher state:
        debug:on
        javargs:off
        program name:java
        launcher name:java
        javaw:off
        fullversion:1.8.0_202-ea-b03
        dotversion:1.8
        ergo_policy:DEFAULT_ERGONOMICS_POLICY
Command line args:
argv[0] = C:\Tools\Java\open-jre1.8.0_202\bin\java.exe
argv[1] = -jar
argv[2] = test.jar
JRE path is C:\Tools\Java\open-jre1.8.0_202
jvm.cfg[0] = ->-server<-
jvm.cfg[1] = ->-client<-
2326 micro seconds to parse jvm.cfg
Default VM: server
JVM path is C:\Tools\Java\open-jre1.8.0_202\bin\server\jvm.dll
JRE path is C:\Tools\Java\open-jre1.8.0_202
CRT path is C:\Tools\Java\open-jre1.8.0_202\bin\msvcr100.dll
39449 micro seconds to LoadJavaVM
JavaVM args:
    version 0x00010002, ignoreUnrecognized is JNI_FALSE, nOptions is 5
    option[ 0] = '-Dsun.java.launcher.diag=true'
    option[ 1] = '-Djava.class.path=.;C:\Tools\Java\jdk1.8.0_191\lib;C:\Tools\Java\jdk1.8.0_191\lib\tools.jar'
    option[ 2] = '-Djava.class.path=test.jar'
    option[ 3] = '-Dsun.java.command=test.jar'
    option[ 4] = '-Dsun.java.launcher=SUN_STANDARD'
151545 micro seconds to InitializeJVM
JAR file is 'test.jar'
App's argc is 0
11003 micro seconds to load main class
----_JAVA_LAUNCHER_DEBUG----
++++++++++++++++++ BEGIN ++++++++++++++++++
##                    1                  ##
##                    2                  ##
##                    3                  ##
##                    4                  ##
##                    5                  ##
##                    6                  ##
##                    7                  ##
##                    8                  ##
##                    9                  ##
##                   10                  ##
++++++++++++++++++ END ++++++++++++++++++

上一篇:df.melt() df.pivot()


下一篇:Leecode刷题之旅-C语言/python-202快乐数