JDK-7145537 : minor tweaks to LogEvents
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: hs23
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: x86
  • Submitted: 2012-02-14
  • Updated: 2012-03-24
  • Resolved: 2012-03-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8 Other
7u4Fixed 8Fixed hs23Fixed
A few minor fixes should be made to the LogEvents output.

EVALUATION http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/09d00c18e323

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/09d00c18e323

EVALUATION 7145537: minor tweaks to LogEvents Reviewed-by: kvn, twisti A few minor fixes and corrections to the LogEvents output. Add the compile id and osr flag to the nmethod logging. Switch all the times to the seconds since JVM start and print in standard %.3f format. Override PrintHeapAtGCExtended when logging the heap. Move Events::print to the cpp to ease invoking it from the debugger. I also restored the extern "C" events() function to use when the debugger is being difficult about invoking C++ methods. I also expanded the logging of implicit exceptions to record more cases. I considered removing the generate implicit exception logging since that's not as rare as the others. Tested with crashing the JVM.

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/09d00c18e323