Help with JIT talk for tomorrow
Charles Oliver Nutter
headius at headius.com
Wed Oct 5 15:14:34 PDT 2011
Thanks for the answers everyone. I updated slides quickly before my
talk to mention the ms times, exception-handling, and OSR sigils.
I'll continue revising the talk over time and adding information.
Probably will add LogCompilation to the list of flags I cover, since
it gives more information than PrintInlining.
- Charlie
On Wed, Oct 5, 2011 at 1:22 AM, Charles K Pepperdine <kirk at kodewerk.com> wrote:
> 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
>
>
More information about the hotspot-compiler-dev
mailing list