Help with JIT talk for tomorrow

Tom Rodriguez tom.rodriguez at oracle.com
Tue Oct 4 17:04:19 PDT 2011


On Oct 4, 2011, at 4:47 PM, Charles Oliver Nutter wrote:

> Hey all...I'm updating and expanding my talk on C2 and will be posting
> some questions. Hopefully there's someone out there who can answer
> them :)

Fire away.

> 
> First up... given this output from PrintCompilation, what do the "!"
> and "n" and "%" mean?

! means the method is synchronized, n means it's a native method wrapper compile, and % means it's an OSR compile.

> 
> Also, in Java 7 there's now two numbers instead of one at the begining
> of the line...what are they?

It's a timestamp in ms since the start of the VM.

tom

> 
>   1401   70             java.util.concurrent.ConcurrentHashMap::hash (49 bytes)
>   1412   71             java.lang.String::indexOf (7 bytes)
>   1420   72   !         java.io.BufferedReader::readLine (304 bytes)
>   1420   73             sun.nio.cs.UTF_8$Decoder::decodeArrayLoop (543 bytes)
>   1422   42             java.util.zip.ZipCoder::getBytes (192 bytes)
> made not entrant
>   1435   74     n       java.lang.Object::hashCode (0 bytes)
>   1443   29   !         sun.misc.URLClassPath$JarLoader::getResource
> (91 bytes)   made zombie
>   1443   25             sun.misc.URLClassPath::getResource (74 bytes)
>  made zombie
>   1443   36             sun.misc.URLClassPath::getResource (74 bytes)
>  made not entrant
>   1443   43             java.util.zip.ZipCoder::encoder (35 bytes)
> made not entrant
>   1449   75             java.lang.String::endsWith (15 bytes)
>   1631    1 %           sun.misc.URLClassPath::getResource @ 39 (74 bytes)
>   1665   76             java.lang.ClassLoader::checkName (43 bytes)
> 
> - Charlie
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev



More information about the mlvm-dev mailing list