JDK-8218922 : SA: Enable best-effort implementation of live regions iteration for ZGC
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: svc-agent
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-02-13
  • Updated: 2020-01-22
  • Resolved: 2019-02-19
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 13
13 b09Fixed
Related Reports
Blocks :  
Duplicate :  
Duplicate :  
Description
The SA has functionally that relies on live heap region information from the GCs. This is problematic when dead objects are left in the heap, and their classes have been unloaded.

Because of this ZGC has so far not implemented this feature. However, we could provide a best-effort implementation of this that works if class unloading is turned off, but would not report all regions if dead objects with dead classes are encountered.

Maybe this is enough to enable a bit more SA debugging capabilities when running with ZGC.