RFR: 8366716: Move SmapsParser from runtime/os/TestTracePageSizes.java into testlib [v3]

jonghoonpark duke at openjdk.org
Mon Sep 15 12:51:40 UTC 2025


> related jira issue: https://bugs.openjdk.org/browse/JDK-8366716
> 
> ---
> 
> Following the direction outlined in the issue description,
> I've extracted the common parts from `TestTracePageSizes` and `TestTransparentHugePagesHeap` to implement the `SmapsParser` test library.
> 
> I've confirmed that it works without issues in my local tests.
> 
> Reviews and feedback are welcome.

jonghoonpark has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:

  Refactor: Introduce Smaps class for testing
  
  Signed-off-by: jonghoonpark <dev at jonghoonpark.com>

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/27273/files
  - new: https://git.openjdk.org/jdk/pull/27273/files/538b4405..873804c5

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27273&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27273&range=01-02

  Stats: 465 lines in 4 files changed: 231 ins; 226 del; 8 mod
  Patch: https://git.openjdk.org/jdk/pull/27273.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27273/head:pull/27273

PR: https://git.openjdk.org/jdk/pull/27273


More information about the hotspot-dev mailing list