JDK-8269798 : Investigate the benefit of more precise soft ref policy after marking
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 18
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2021-07-02
  • Updated: 2021-07-05
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
Since JDK-8269596, the soft ref policy is set up before marking, and the memory pressure is derived based on the heap usage at the end of previous GC cycle. A more precise measurement of memory pressure is to use the live set size after marking. This also means an additional "soft ref reconsideration" subphase in ref-processing phase. This new subphase could involve marking a large objects graph, so it's probably too expensive for STW collectors.