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

jonghoonpark duke at openjdk.org
Sun Oct 5 13:30:27 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/873804c5..57b1dcaf

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

  Stats: 80 lines in 3 files changed: 39 ins; 28 del; 13 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