JDK-8027962 : Per-phase timing measurements for strong roots processing
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: hs25,8
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2013-11-07
  • Updated: 2015-09-29
  • Resolved: 2015-03-20
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 8 JDK 9
8u60Fixed 9 b59Fixed
Related Reports
Relates :  
Description
Currently we measure the duration of the strong roots processing in a single phase called "Ext root scan". This phase consists of a lot of different tasks: it would be convenient if we had a per-phase/per-thread breakdown for this to spot imbalances and other issues in this phase.

Improve this logging for at least the G1 collector.
Comments
Added a patch that implements this. Needs to be cleaned up, and unified with G1's WorkerDataArray. Use -XX:+UseNewCode and -XX:+PrintGCDetails to activate. After that, prints per thread per ext-root scan phase timings.
07-11-2013