RFR: 8354461: Update tests to disable streaming output for attach tools

Serguei Spitsyn sspitsyn at openjdk.org
Wed May 7 17:47:18 UTC 2025


On Tue, 6 May 2025 19:33:22 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

>> test/hotspot/jtreg/runtime/NMT/CommitOverlappingRegions.java line 54:
>> 
>>> 52: 
>>> 53:         pb.command(new PidJcmdExecutor().getCommandLine("VM.native_memory", "detail"));
>>> 54:         System.out.println("Address is " + Long.toHexString(addr));
>> 
>> Q: Can we use the `NMTTestUtils.startJcmdVMNativeMemory()` here?
>
> The test uses created ProcessBuilder many times, so the test would require much more changes

Okay, thanks.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24672#discussion_r2078164486


More information about the hotspot-runtime-dev mailing list