JDK-8368947 : G1: Quicker refinement closure completion after having found an interesting reference
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2025-09-30
  • Updated: 2025-10-03
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.
Other
tbdUnresolved
Related Reports
Relates :  
Description
Currently, when a card is found dirty after all during refinement, g1 continues walking through the objects, with a flag set that it has already found a reference to skip further evaluation. This is due to the limited oop_iterate() API that does not allow iteration abort/completion early.

There may be more closures that workaround this via a flag.