JDK-8225409 : Investigate removal of the Hot Card Cache
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 13
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2019-06-06
  • Updated: 2022-10-04
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 :  
Relates :  
Relates :  
Description
The purpose of the Hot Card Cache is to collect often dirtied cards during mutator time.

Anecdotal evidence indicates that the HCC does not contribute meaningfully to performance because:
- it is very small (JDK-8135064); an application doing lots of refinement will overflow it quickly
- an application doing little refinement will not use it

However its data structures use a card map across the whole heap, i.e. one byte per card, which is 0.2% of the heap. That memory could be used more usefully in other places.

Test and investigate its usefulness, also taking the concerns for JDK-8135064 into account.

There may also be better ways that use less memory to cause the same effect.