JDK-8260574 : Remove parallel constructs in GenCollectedHeap::process_roots
Type:Enhancement
Component:hotspot
Sub-Component:gc
Affected Version:17
Priority:P4
Status:Resolved
Resolution:Fixed
Submitted:2021-01-28
Updated:2025-01-16
Resolved:2021-01-31
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.
`GenCollectedHeap::process_roots` is always called by the VM thread only (in serial GC), so all parallel constructs can be removed, namely the field of `SubTasksDone` and the arg of `StrongRootsScope`.
Comments
Changeset: 8a9004da
Author: Albert Mingkun Yang <ayang@openjdk.org>
Committer: Thomas Schatzl <tschatzl@openjdk.org>
Date: 2021-01-31 17:03:37 +0000
URL: https://git.openjdk.java.net/jdk/commit/8a9004da