RFR: [XS] 8224750: Display thread once in Internal exceptions event log lines

Baesken, Matthias matthias.baesken at sap.com
Mon May 27 08:28:49 UTC 2019


Hello, please review this small patch , it  shortens the  internal exceptions event log entries .


Currently the internal exceptions-related event log - part in the hs_err file looks like this :

Internal exceptions (20 events):
Event: 9.075 Thread 0x000003ff7c971800 Exception <a .... exception-related info/signature ....> (0x00000000d930ed40)
thrown [/mydir/jdk/src/hotspot/share/oops/constantPool.cpp, line 777]
for thread 0x000003ff7c971800


One can see that the thread is displayed ***twice*** in every line, once at the beginning :
Event: 9.075 Thread 0x000003ff7c971800

and again at the end:
for thread 0x000003ff7c971800

I think the thread- info should be displayed just once (saves a bit space and makes the output shorter).

New output example :

Event: 4.785 Thread 0x000003ff94a57800 Exception <a 'java/lang/NoSuchFieldError'{0x00000000df139c28}> (0x00000000df139c28)
thrown [/mydir/jdk/src/hotspot/share/prims/jni.cpp, line 598]




Bug/webrev :

https://bugs.openjdk.java.net/browse/JDK-8224750

http://cr.openjdk.java.net/~mbaesken/webrevs/8224750.0/



Thanks ,Matthias


More information about the hotspot-dev mailing list