Re: Help with JIT talk for tomorrow

2011-10-11 Thread Martijn Verburg
Hi all,

FYI - I checked with Georges Saab and he thinks there was simply an
outage at Santa Clara.  Let me know if the page is still down!

There is a longer term plan to shift things off the older
infrastructure, details TBA.

Cheers,
Martijn

On 9 October 2011 21:59, Krystal Mok rednaxel...@gmail.com wrote:
 On Mon, Oct 10, 2011 at 3:43 AM, Sebastian Sickelmann
 sebastian.sickelm...@gmx.de wrote:

 Unfortunately http://wikis.sun.com/display/HotSpotInternals/Home seems to
 be down.

 :-(

 Same here. I was trying to access it last night and I got redirected to Bug
 Database instead.


 ___
 mlvm-dev mailing list
 mlvm-dev@openjdk.java.net
 http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev



 ___
 mlvm-dev mailing list
 mlvm-dev@openjdk.java.net
 http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


Re: Help with JIT talk for tomorrow

2011-10-10 Thread Charles K Pepperdine
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)
   16311 %   sun.misc.URLClassPath::getResource @ 39 (74 bytes)
   1665   76 java.lang.ClassLoader::checkName (43 bytes)
 
 - Charlie

___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


Re: Help with JIT talk for tomorrow

2011-10-10 Thread Charles K Pepperdine
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)
   16311 %   sun.misc.URLClassPath::getResource @ 39 (74 bytes)
   1665   76 java.lang.ClassLoader::checkName (43 bytes)
 
 - Charlie

___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


Re: Help with JIT talk for tomorrow

2011-10-09 Thread Sebastian Sickelmann

Am 06.10.2011 20:21, schrieb Krystal Mok:

Thank you, John ^_^

It looks like I've registered a Sun Online Account before with this 
email address (rednaxel...@gmail.com mailto:rednaxel...@gmail.com), 
and the screen name is the same as the email address. Didn't see how I 
could create an account without having the two being the same, though. 
I wonder if I'll be getting a lot of spam to this address once I 
really start using the account...


Regards,
Kris Mok

On Fri, Oct 7, 2011 at 1:19 AM, John Rose john.r.r...@oracle.com 
mailto:john.r.r...@oracle.com wrote:


Sadly, wikis.sun.com http://wikis.sun.com is infested by comment
spammers.  Adding actual page edit rights is a human-intensive
operation.

Kris, what's your login (screen name) on wikis.sun.com
http://wikis.sun.com?  I will try to add you to the editors list
for those pages.

-- John

On Oct 6, 2011, at 7:11 AM, Krystal Mok wrote:


Hi Rémi,

I asked if or how it could be integrated into the wiki a while
ago, too, here:
http://mail.openjdk.java.net/pipermail/hotspot-dev/2011-August/004376.html

Unfortunately I haven't found a definitive answer to that
question yet.

Regards,
Kris Mok

On Thu, Oct 6, 2011 at 9:59 PM, Rémi Forax fo...@univ-mlv.fr
mailto:fo...@univ-mlv.fr wrote:

On 10/06/2011 03:27 PM, Krystal Mok wrote:
 I tried to document PrintCompilation a while ago, here:
https://gist.github.com/1165804#file_notes.md
 Hope it helps. Sorry for the late reply, we're in holiday
this week here in China.

 Regards,
 Kris Mok

Wow ! Impressive !

You should update the Hotspot internal wiki
http://wikis.sun.com/display/HotSpotInternals/Home

John, is it possible ?

Rémi


 On 2011-10-5, at 7:47, Charles Oliver
Nutterhead...@headius.com mailto:head...@headius.com  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)
16311 %  
sun.misc.URLClassPath::getResource @ 39 (74 bytes)

1665   76 java.lang.ClassLoader::checkName
(43 bytes)

 - Charlie
 ___
 mlvm-dev mailing list
 mlvm-dev@openjdk.java.net mailto:mlvm-dev@openjdk.java.net
 http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
 ___
 mlvm-dev mailing list
 mlvm-dev@openjdk.java.net mailto:mlvm-dev@openjdk.java.net
 http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net mailto:mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net mailto:mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev



___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net mailto:mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev



___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
Unfortunately http://wikis.sun.com/display/HotSpotInternals/Home seems 
to be 

Re: Help with JIT talk for tomorrow

2011-10-09 Thread Krystal Mok
On Mon, Oct 10, 2011 at 3:43 AM, Sebastian Sickelmann 
sebastian.sickelm...@gmx.de wrote:

 Unfortunately http://wikis.sun.com/display/HotSpotInternals/Home seems to
 be down.

 :-(

 Same here. I was trying to access it last night and I got redirected to Bug
Database instead.


 ___
 mlvm-dev mailing list
 mlvm-dev@openjdk.java.net
 http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


Re: Help with JIT talk for tomorrow

2011-10-06 Thread Krystal Mok
I tried to document PrintCompilation a while ago, here: 
https://gist.github.com/1165804#file_notes.md
Hope it helps. Sorry for the late reply, we're in holiday this week here in 
China.

Regards,
Kris Mok

On 2011-10-5, at 7:47, Charles Oliver Nutter head...@headius.com 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)
   16311 %   sun.misc.URLClassPath::getResource @ 39 (74 bytes)
   1665   76 java.lang.ClassLoader::checkName (43 bytes)
 
 - Charlie
 ___
 mlvm-dev mailing list
 mlvm-dev@openjdk.java.net
 http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


Re: Help with JIT talk for tomorrow

2011-10-06 Thread Rémi Forax
On 10/06/2011 03:27 PM, Krystal Mok wrote:
 I tried to document PrintCompilation a while ago, here: 
 https://gist.github.com/1165804#file_notes.md
 Hope it helps. Sorry for the late reply, we're in holiday this week here in 
 China.

 Regards,
 Kris Mok

Wow ! Impressive !

You should update the Hotspot internal wiki
http://wikis.sun.com/display/HotSpotInternals/Home

John, is it possible ?

Rémi


 On 2011-10-5, at 7:47, Charles Oliver Nutterhead...@headius.com  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)
16311 %   sun.misc.URLClassPath::getResource @ 39 (74 bytes)
1665   76 java.lang.ClassLoader::checkName (43 bytes)

 - Charlie
 ___
 mlvm-dev mailing list
 mlvm-dev@openjdk.java.net
 http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
 ___
 mlvm-dev mailing list
 mlvm-dev@openjdk.java.net
 http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


Re: Help with JIT talk for tomorrow

2011-10-06 Thread Krystal Mok
Hi Rémi,

I asked if or how it could be integrated into the wiki a while ago, too,
here:
http://mail.openjdk.java.net/pipermail/hotspot-dev/2011-August/004376.html
Unfortunately I haven't found a definitive answer to that question yet.

Regards,
Kris Mok

On Thu, Oct 6, 2011 at 9:59 PM, Rémi Forax fo...@univ-mlv.fr wrote:

 On 10/06/2011 03:27 PM, Krystal Mok wrote:
  I tried to document PrintCompilation a while ago, here:
 https://gist.github.com/1165804#file_notes.md
  Hope it helps. Sorry for the late reply, we're in holiday this week here
 in China.
 
  Regards,
  Kris Mok

 Wow ! Impressive !

 You should update the Hotspot internal wiki
 http://wikis.sun.com/display/HotSpotInternals/Home

 John, is it possible ?

 Rémi

 
  On 2011-10-5, at 7:47, Charles Oliver Nutterhead...@headius.com
  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)
 16311 %   sun.misc.URLClassPath::getResource @ 39 (74
 bytes)
 1665   76 java.lang.ClassLoader::checkName (43 bytes)
 
  - Charlie
  ___
  mlvm-dev mailing list
  mlvm-dev@openjdk.java.net
  http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
  ___
  mlvm-dev mailing list
  mlvm-dev@openjdk.java.net
  http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

 ___
 mlvm-dev mailing list
 mlvm-dev@openjdk.java.net
 http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


Re: Help with JIT talk for tomorrow

2011-10-06 Thread John Rose
Sadly, wikis.sun.com is infested by comment spammers.  Adding actual page edit 
rights is a human-intensive operation.

Kris, what's your login (screen name) on wikis.sun.com?  I will try to add you 
to the editors list for those pages.

-- John

On Oct 6, 2011, at 7:11 AM, Krystal Mok wrote:

 Hi Rémi,
 
 I asked if or how it could be integrated into the wiki a while ago, too, 
 here: 
 http://mail.openjdk.java.net/pipermail/hotspot-dev/2011-August/004376.html
 Unfortunately I haven't found a definitive answer to that question yet.
 
 Regards,
 Kris Mok
 
 On Thu, Oct 6, 2011 at 9:59 PM, Rémi Forax fo...@univ-mlv.fr wrote:
 On 10/06/2011 03:27 PM, Krystal Mok wrote:
  I tried to document PrintCompilation a while ago, here: 
  https://gist.github.com/1165804#file_notes.md
  Hope it helps. Sorry for the late reply, we're in holiday this week here in 
  China.
 
  Regards,
  Kris Mok
 
 Wow ! Impressive !
 
 You should update the Hotspot internal wiki
 http://wikis.sun.com/display/HotSpotInternals/Home
 
 John, is it possible ?
 
 Rémi
 
 
  On 2011-10-5, at 7:47, Charles Oliver Nutterhead...@headius.com  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)
 16311 %   sun.misc.URLClassPath::getResource @ 39 (74 bytes)
 1665   76 java.lang.ClassLoader::checkName (43 bytes)
 
  - Charlie
  ___
  mlvm-dev mailing list
  mlvm-dev@openjdk.java.net
  http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
  ___
  mlvm-dev mailing list
  mlvm-dev@openjdk.java.net
  http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
 
 ___
 mlvm-dev mailing list
 mlvm-dev@openjdk.java.net
 http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
 
 ___
 mlvm-dev mailing list
 mlvm-dev@openjdk.java.net
 http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


Re: Help with JIT talk for tomorrow

2011-10-06 Thread Krystal Mok
Thank you, John ^_^

It looks like I've registered a Sun Online Account before with this email
address (rednaxel...@gmail.com), and the screen name is the same as the
email address. Didn't see how I could create an account without having the
two being the same, though. I wonder if I'll be getting a lot of spam to
this address once I really start using the account...

Regards,
Kris Mok

On Fri, Oct 7, 2011 at 1:19 AM, John Rose john.r.r...@oracle.com wrote:

 Sadly, wikis.sun.com is infested by comment spammers.  Adding actual page
 edit rights is a human-intensive operation.

 Kris, what's your login (screen name) on wikis.sun.com?  I will try to add
 you to the editors list for those pages.

 -- John

 On Oct 6, 2011, at 7:11 AM, Krystal Mok wrote:

 Hi Rémi,

 I asked if or how it could be integrated into the wiki a while ago, too,
 here:
 http://mail.openjdk.java.net/pipermail/hotspot-dev/2011-August/004376.html
 Unfortunately I haven't found a definitive answer to that question yet.

 Regards,
 Kris Mok

 On Thu, Oct 6, 2011 at 9:59 PM, Rémi Forax fo...@univ-mlv.fr wrote:

 On 10/06/2011 03:27 PM, Krystal Mok wrote:
  I tried to document PrintCompilation a while ago, here:
 https://gist.github.com/1165804#file_notes.md
  Hope it helps. Sorry for the late reply, we're in holiday this week here
 in China.
 
  Regards,
  Kris Mok

 Wow ! Impressive !

 You should update the Hotspot internal wiki
 http://wikis.sun.com/display/HotSpotInternals/Home

 John, is it possible ?

 Rémi

 
  On 2011-10-5, at 7:47, Charles Oliver Nutterhead...@headius.com
  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)
 16311 %   sun.misc.URLClassPath::getResource @ 39 (74
 bytes)
 1665   76 java.lang.ClassLoader::checkName (43 bytes)
 
  - Charlie
  ___
  mlvm-dev mailing list
  mlvm-dev@openjdk.java.net
  http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
  ___
  mlvm-dev mailing list
  mlvm-dev@openjdk.java.net
  http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

 ___
 mlvm-dev mailing list
 mlvm-dev@openjdk.java.net
 http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


 ___
 mlvm-dev mailing list
 mlvm-dev@openjdk.java.net
 http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev



 ___
 mlvm-dev mailing list
 mlvm-dev@openjdk.java.net
 http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


Re: Help with JIT talk for tomorrow

2011-10-05 Thread Charles Oliver Nutter
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 k...@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


___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


Help with JIT talk for tomorrow

2011-10-04 Thread Charles Oliver Nutter
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)
   16311 %   sun.misc.URLClassPath::getResource @ 39 (74 bytes)
   1665   76 java.lang.ClassLoader::checkName (43 bytes)

- Charlie
___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


Re: Help with JIT talk for tomorrow

2011-10-04 Thread Mark Roos
This may help
http://www.java.net/external?url=http://blog.joda.org/2011/08/printcompilation-jvm-flag.html___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


Re: Help with JIT talk for tomorrow

2011-10-04 Thread Tom Rodriguez

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)
   16311 %   sun.misc.URLClassPath::getResource @ 39 (74 bytes)
   1665   76 java.lang.ClassLoader::checkName (43 bytes)
 
 - Charlie
 ___
 mlvm-dev mailing list
 mlvm-dev@openjdk.java.net
 http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


Re: Help with JIT talk for tomorrow

2011-10-04 Thread Matt Fowles
Tom~

On Tue, Oct 4, 2011 at 8:04 PM, Tom Rodriguez tom.rodrig...@oracle.comwrote:

  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.


Your answer and the website linked to disagree.  According to the website:

!Method has exception handlers
sMethod declared as synchronized

Can you verify which is correct just so we don't have misinformation running
around?

Matt
___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


Re: Help with JIT talk for tomorrow

2011-10-04 Thread Tom Rodriguez

On Oct 4, 2011, at 5:12 PM, Matt Fowles wrote:

 Tom~
 
 On Tue, Oct 4, 2011 at 8:04 PM, Tom Rodriguez tom.rodrig...@oracle.com 
 wrote:
  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.
 
 Your answer and the website linked to disagree.  According to the website:
 
 !Method has exception handlers
 sMethod declared as synchronized
 
 Can you verify which is correct just so we don't have misinformation running 
 around?

Oops.  I think I'd trust the written one more than my memory and a quick look 
at the sources confirms that.

  const char compile_type   = is_osr_method   ? '%' : ' ';
  const char sync_char  = is_synchronized ? 's' : ' ';
  const char exception_char = has_exception_handler   ? '!' : ' ';
  const char blocking_char  = is_blocking ? 'b' : ' ';
  const char native_char= is_native   ? 'n' : ' ';

Thanks for correcting me.  Personally I've never understood why we bothered to 
print anything besides n and %.

tom

 
 Matt
 ___
 mlvm-dev mailing list
 mlvm-dev@openjdk.java.net
 http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev