-XX:+PrintAOT Output: First Two Columns Are...?

Vladimir Kozlov vladimir.kozlov at oracle.com
Thu Jul 19 23:29:05 UTC 2018


Hi Gary,

I assume you are asking about AOT feature in JDK.

$ java -XX:+PrintAOT -XX:AOTLibrary=./aot.so HelloWorld
      87    1     loaded    ./aot.so  aot library
     277    1     aot[ 1]   HelloWorld.<init>()V
     277    2     aot[ 1]   HelloWorld.main([Ljava/lang/String;)V

First column is milisec from JVM start.
Second - ID assigned to AOTed method.
Third in [] is AOT library Id (in order they are loaded)

http://hg.openjdk.java.net/jdk/jdk/file/e443c637b238/src/hotspot/share/aot/aotCompiledMethod.cpp#l327

Regards,
Vladimir

On 7/19/18 3:58 PM, Gary Morrison wrote:
> Apologies in advance if this is too elementary a question.  First time posting here.  (Also, admittedly not strictly a Graal question, but obviously related.)
> 
> Googled around a bit but couldn't really find anything.
> 
> With -XX:+PrintAOT, what are the first two columns of info.  They're numerical, so I'm guessing they're some sort of time-stamp?  Referring to the 43-44 and the 1-10 below, for example:
> 
>       43    1     aot[ 2]   java.lang.Object.finalize()V
>       43    2     aot[ 2]   java.lang.Object.equals(Ljava/lang/Object;)Z
>       43    3     aot[ 2]   java.lang.Object.<init>()V
>       43    4     aot[ 2]   java.lang.Object.wait()V
>       43    5     aot[ 2]   java.lang.Object.<clinit>()V
>       43    6     aot[ 2]   java.lang.Object.wait(JI)V
>       43    7     aot[ 2]   java.lang.Object.toString()Ljava/lang/String;
>       43    8     aot[ 2]   java.lang.CharSequence.chars()Ljava/util/stream/IntStream;
>       44    9     aot[ 2]   java.lang.CharSequence.codePoints()Ljava/util/stream/IntStream;
>       44   10     aot[ 2]   java.lang.CharSequence.lambda$codePoints$1()Ljava/util/Spliterator$OfInt;
> 
> IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
> 


More information about the graal-dev mailing list