JDK-8274054 : Add custom enqueue calls during reference processing
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 18
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-09-21
  • Updated: 2022-12-07
  • Resolved: 2021-09-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 18
18 b16Fixed
Related Reports
Relates :  
Description
Currently enqueuing during reference processing executes the write barrier. Some collectors (G1) are not in a state that the write barrier will execute correctly. This causes extra unnecessary work.

Add an API to have collector specific enqueue() calls.
Comments
Changeset: 51085b52 Author: Thomas Schatzl <tschatzl@openjdk.org> Date: 2021-09-22 10:17:31 +0000 URL: https://git.openjdk.java.net/jdk/commit/51085b523eb7f37c3af5b566b55eca37c127bdcf
22-09-2021