Help with JIT talk for tomorrow

Rémi Forax forax at univ-mlv.fr
Tue Oct 4 17:05:00 PDT 2011


On 10/05/2011 01:47 AM, 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 :)
>
> First up... given this output from PrintCompilation, what do the "!"
> and "n" and "%" mean?

n -> native
% -> OSR (On Stack Replacement (loop optimizer)), you have the bytecode 
offset after
         the @ on the same line.

>
> Also, in Java 7 there's now two numbers instead of one at the begining
> of the line...what are they?
>
>     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)

good questions :)

Rémi



>
> - Charlie



More information about the hotspot-compiler-dev mailing list