JDK-8241545 : Shenandoah: purge root work overwrites counters after JDK-8228818
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 14,15
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-03-24
  • Updated: 2020-04-07
  • Resolved: 2020-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 15
15 b16Fixed
Related Reports
Relates :  
Description
JDK-8228818 introduced two new root-specific counters:
 https://hg.openjdk.java.net/jdk/jdk/rev/ddc79542ce3a#l10.14

...but there is no relevant roots block in the counter table. Therefore, while guarantee is there to check that we are safe to add the merge the bunch of counters into the counters table, we actually overwrite the subsequent, unrelated counters.

We need to introduce the proper roots blocks for those affected counters.
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/2ca9499e1c68 User: shade Date: 2020-03-24 19:28:28 +0000
24-03-2020