[9] RFR (XS): 8075270: Print locals & stack slots location for PcDescs

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Mon Mar 16 19:26:05 UTC 2015


http://cr.openjdk.java.net/~vlivanov/8075270/webrev.00/
https://bugs.openjdk.java.net/browse/JDK-8075270

Enhance -XX:+PrintNMethods output with additional info about locals & 
stack slots location (if present):
PcDesc(pc=0x110b71b5c offset=17c bits=0):
    java.lang.String::indexOf at 43 (line 1562)
    Locals
     - l0: empty
     - l1: stack[0]
     - l2: empty
     - l3: reg rbp [10],int
     - l4: stack[8],narrowoop
     - l5: stack[4]

Right now it looks like:
PcDesc(pc=0x110b71b5c offset=17c bits=0):
    java.lang.String::indexOf at 43 (line 1562)

Testing: manual.

Thanks!

Best regards,
Vladimir Ivanov


More information about the hotspot-compiler-dev mailing list