JDK-8280958 : G1/Parallel: Unify marking code structure
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 19
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-01-31
  • Updated: 2022-02-23
  • Resolved: 2022-02-22
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 19
19 masterFixed
Related Reports
Relates :  
Relates :  
Description
In the review for JDK-8280705 the suggestion to improve the marking code a bit, namely to rename a method recently introduced in both G1 and Parallel GC (JDK-8280705 and JDK-8280396) came up.

Looking at this a bit more, it would be nice if Parallel/G1 full gc task queue handling for marking code would be made more similar so that changes can be applied in sync more easily.

Even better would be factoring out the mostly-duplicated code, as suggested by JDK-8156754. This should be a first step into that direction.

Comments
Changeset: 957dae02 Author: Thomas Schatzl <tschatzl@openjdk.org> Date: 2022-02-22 16:25:12 +0000 URL: https://git.openjdk.java.net/jdk/commit/957dae02b18b150cab8aec4846bc82086ee1e4da
22-02-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/7561 Date: 2022-02-21 15:58:48 +0000
21-02-2022