JDK-8332961 : Parallel: Limit PSParallelCompact::verify_complete range
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 23
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-05-27
  • Updated: 2024-06-07
  • Resolved: 2024-05-31
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 23
23 b26Fixed
Related Reports
Relates :  
Description
After JDK-8329203, regions in dense-prefix don't go through claim->complete process any more -- they are divided among all workers "statically". Therefore, `verify_complete` should skip those regions. Otherwise, one gets false-positive gc warnings, saying that some regions are not marked complete, e.g. running gc/TestFullGCALot.java

Skip dense-prefix regions in the verification to remove these misleading warnings.
Comments
Changeset: bb4aed94 Author: Albert Mingkun Yang <ayang@openjdk.org> Date: 2024-05-31 07:58:32 +0000 URL: https://git.openjdk.org/jdk/commit/bb4aed944ea511df8ddfbd50c885a271a2ea9464
31-05-2024

Fwiw, the warning message looks like: [3.290s][warning][gc] GC(1) region XXXX not filled: destination_count=0
29-05-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/19409 Date: 2024-05-27 08:23:44 +0000
27-05-2024