JDK-8366980 : TestTransparentHugePagesHeap.java fails when run with -UseCompressedOops
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 26
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-09-05
  • Updated: 2025-09-15
  • Resolved: 2025-09-10
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 26
26 b15Fixed
Related Reports
Relates :  
Description
The new test TestTransparentHugePagesHeap.java added in JDK-8366434 fails when run with -UseCompressedOops.

The reason for this is that the address printed as the start of the heap in the pagesize logging is not the start of the mapping. So we fail to find the mapping when scanning the SMAPS file.
Comments
Changeset: 703d930e Branch: master Author: Stefan Karlsson <stefank@openjdk.org> Date: 2025-09-10 11:55:31 +0000 URL: https://git.openjdk.org/jdk/commit/703d930e4d52a6f9741cf9affee8caade550e67b
10-09-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/27143 Date: 2025-09-08 12:34:33 +0000
08-09-2025