Help with JIT talk for tomorrow
Charles K Pepperdine
kirk at kodewerk.com
Wed Oct 5 01:22:18 PDT 2011
The ! means the method has exception handlers. I'm not sure that I understand Remi's answer. Here's some code from sharedRuntime.cpp. A number of other files mention PrintCompilation but it's late so I've not sorted out where the main compile is logged. If it's in compile.cpp I've completely missed it ;-)
if (PrintCompilation) {
ttyLocker ttyl;
tty->print("--- n%s ", (method->is_synchronized() ? "s" : " "));
method->print_short_name(tty);
if (method->is_static()) {
tty->print(" (static)");
}
tty->cr();
}
Regards,
Kirk
On Oct 5, 2011, at 1: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?
>
> 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)
>
> - Charlie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20111005/f01fab7d/attachment-0001.html
More information about the mlvm-dev
mailing list