[9] RFR (XS): 8075266: Show runtime call details when printing machine code
Vladimir Ivanov
vladimir.x.ivanov at oracle.com
Mon Mar 16 19:10:04 UTC 2015
http://cr.openjdk.java.net/~vlivanov/8075266/webrev.00/
https://bugs.openjdk.java.net/browse/JDK-8075266
Small enhancement to make generated assembly output more descriptive:
print code blob name runtime call points to.
Examples:
- {runtime_call ic_miss_stub}
- ; OopMap{[16]=NarrowOop off=348}
;*if_icmpne
; - java.lang.String::indexOf at 49 (line 1562)
; {runtime_call UncommonTrapBlob}
- {runtime_call DeoptimizationBlob}
Testing: manual (looked at -XX:+PrintAssembly output).
Best regards,
Vladimir Ivanov
PS: I considered adding a special case for os::breakpoint (debug builds
insert such calls everywhere, but I didn't want to enumerate symbols to
decode arbitrary functions), but decided it doesn't add much. Let me
know if you think it is useful.
More information about the hotspot-compiler-dev
mailing list