JDK-8332880 : JFR GCHelper class recognizes "Archive" regions as valid
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: 23
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-05-24
  • Updated: 2025-04-28
  • Resolved: 2024-05-29
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 21 JDK 23
21.0.8-oracleFixed 23 b25Fixed
Related Reports
Causes :  
Description
That class used for testing JFR events still mentions "Archive" regions which have been removed long ago.
Comments
Fix request [21u] I backport this for parity with 21.0.8-oracle. No risk, only a test change Clean backport. SAP nightly testing passed.
24-04-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk21u-dev/pull/1700 Date: 2025-04-23 13:31:32 +0000
23-04-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk22u/pull/252 Date: 2024-07-01 12:52:08 +0000
09-07-2024

[jdk22u-fix-request] Approval Request from Ivan Walulya Clean backport to remove "Archive" regions from the possible types of the heap region type change events. Risk is very low.
01-07-2024

Changeset: 2cca83bc Author: Thomas Schatzl <tschatzl@openjdk.org> Date: 2024-05-29 07:55:01 +0000 URL: https://git.openjdk.org/jdk/commit/2cca83bc82eb6b090ae96b8c072b986b93d9244a
29-05-2024

The patch: diff --git a/test/lib/jdk/test/lib/jfr/GCHelper.java b/test/lib/jdk/test/lib/jfr/GCHelper.java index dc004096f0c..6d1c424e092 100644 --- a/test/lib/jdk/test/lib/jfr/GCHelper.java +++ b/test/lib/jdk/test/lib/jfr/GCHelper.java @@ -195,8 +195,7 @@ public static List<RecordedEvent> removeFirstAndLastGC(List<RecordedEvent> event "Survivor", "Starts Humongous", "Continues Humongous", - "Old", - "Archive" + "Old" }; g1HeapRegionTypes = Collections.unmodifiableList(Arrays.asList(g1HeapRegionTypeLiterals));
24-05-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/19390 Date: 2024-05-24 11:27:35 +0000
24-05-2024