JDK-8275607 : G1: G1CardSetAllocator::drop_all needs to call G1SegmentedArray::drop_all
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 18
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2021-10-20
  • Updated: 2022-02-10
  • Resolved: 2021-10-21
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 b21Fixed
Related Reports
Relates :  
Description
This is a follow-up of JDK-8273626.

G1CardSetAllocator::drop_all should call call G1SegmentedArray::drop_all to put all buffers into buffer free list, which is the original behavior of G1CardSetAllocator.
Comments
Changeset: c7a80e60 Author: Hamlin Li <mli@openjdk.org> Date: 2021-10-21 01:16:10 +0000 URL: https://git.openjdk.java.net/jdk/commit/c7a80e60e2e201b573d4653fa978df527addc8a6
21-10-2021

The high priority is because I think this causes a significant memory leak, or at least remembered sets growing all the time.
20-10-2021