JDK13.0.2源码调试《一》

  • 时间:
  • 浏览:0
  • 来源:跟我学网络

Launcher state:

    First application arg index: 2

    debug:on

    javargs:off

    program name:java

    launcher name:java

    javaw:off

    fullversion:13.0.2+8

Java args:

Command line args:

argv[0] = java

argv[1] = App.java

JRE path is /opt/app/jdk/jdk-13.0.2

jvm.cfg[0] = ->-server<-

jvm.cfg[1] = ->-client<-

1 micro seconds to parse jvm.cfg

Default VM: server

Does `/opt/app/jdk/jdk-13.0.2/lib/server/libjvm.so' exist ... yes.

mustsetenv: FALSE

JVM path is /opt/app/jdk/jdk-13.0.2/lib/server/libjvm.so

1 micro seconds to LoadJavaVM

JavaVM args:

    version 0x00010002, ignoreUnrecognized is JNI_FALSE, nOptions is 6

    option[ 0] = '-Dsun.java.launcher.diag=true'

    option[ 1] = '-Djava.class.path=.:/opt/app/jdk/jdk-13.0.2/lib/dt.jar:/opt/app/jdk/jdk-13.0.2/lib/tools.jar'

    option[ 2] = '--add-modules=ALL-DEFAULT'

    option[ 3] = '-Dsun.java.command=jdk.compiler/com.sun.tools.javac.launcher.Main App.java'

    option[ 4] = '-Dsun.java.launcher=SUN_STANDARD'

    option[ 5] = '-Dsun.java.launcher.pid=8579'

1 micro seconds to InitializeJVM

Source is 'jdk.compiler/com.sun.tools.javac.launcher.Main'

App's argc is 1

    argv[ 0] = 'App.java'

 

展开阅读全文