JDK-8366716 : Move SmapsParser from runtime/os/TestTracePageSizes.java into testlib
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: test
  • Affected Version: 26
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-09-02
  • Updated: 2025-10-21
  • Resolved: 2025-10-14
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 b20Fixed
Related Reports
Relates :  
Description
We have a helper class responsible for /proc/self/smaps parsing available in test/hotspot/jtreg/runtime/os/TestTracePageSizes.java. Similar functionality is implemented in a new test:
test/hotspot/jtreg/gc/TestTransparentHugePagesHeap.java

We should look at moving the SmapsParser class into the testlib to make it possible to use it in both tests.
Comments
Changeset: 90cf3a20 Branch: master Author: jonghoonpark <dev@jonghoonpark.com> Committer: Stefan Johansson <sjohanss@openjdk.org> Date: 2025-10-14 09:09:58 +0000 URL: https://git.openjdk.org/jdk/commit/90cf3a2086cb0705dd519ff327be350e24a83af5
14-10-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/27273 Date: 2025-09-14 08:35:53 +0000
14-09-2025