RFR (S) 8001538: hs_err file does not list anymore compiled methods in compilation events

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Tue Nov 13 07:53:22 PST 2012


http://cr.openjdk.java.net/~vlivanov/8001538/webrev.00/

Due to incorrect message buffer size calculation, a message may be 
truncated to 4/8 characters.

Also, changed how deoptimization events are logged:
   - moved [1] from "Deoptimization events" to "Events" section.
   - added [2] to "Deoptimization events" section

Sample output from a hs_err file:
Deoptimization events (2 events):
Event: 3.438 Thread 0x0000000103804800 Uncommon trap: Test::f @ 23, 
reason: unloaded, action: reinterpret
Event: 3.482 Thread 0x0000000103804800 Uncommon trap: Test::main @ 38, 
reason: unloaded, action: reinterpret

Internal exceptions (10 events):
...

Events (10 events):
Event: 3.441 Thread 0x0000000103804800 DEOPT UNPACKING 
pc=0x00000001046cf214 sp=0x0000000100700548 mode 2
Event: 3.482 Thread 0x0000000103804800 Uncommon trap 3 fr.pc 
0x00000001046ffe1c
...

Testing: JPRT, simple test w/ deopt events in the log.

Best regards,
Vladimir Ivanov

[1] Uncommon trap 3 fr.pc 0x00000001046ffe1c
[2] Uncommon trap: Test::f @ 23, reason=unloaded action=reinterpret


More information about the hotspot-compiler-dev mailing list