JDK-8290814 : Hide G1RootRegions behind G1ConcurrentMark
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 20
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-07-21
  • Updated: 2022-08-11
  • Resolved: 2022-08-09
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 20
20 b10Fixed
Related Reports
Blocks :  
Description
G1ConcurrentMark currently exposes its G1RootRegions instance as public member. That is not necessary as the actually used functionality from G1RootRegions from outside is very small.

However, for the sake of exposing less information, and making sure that with JDK-8289822 public access to the TAMSes is read-only, it is imo better to not allow this public access for everyone either.

Basically, this is a preparatory cleanup for JDK-8289822.
Comments
Changeset: 0ade2641 Author: Thomas Schatzl <tschatzl@openjdk.org> Date: 2022-08-09 12:01:58 +0000 URL: https://git.openjdk.org/jdk/commit/0ade2641f78c1ab890de658095b6b54e52f8d5ab
09-08-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/9593 Date: 2022-07-21 14:38:20 +0000
21-07-2022