JDK-8359959 : Test runtime/NMT/VirtualAllocTestType.java failed: '\\[0x[0]*7f7dc4043000 - 0x[0]*7f7dc4083000\\] reserved 256KB for Test' missing from stdout/stderr
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 26
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-06-18
  • Updated: 2025-07-03
  • Resolved: 2025-06-24
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 b04Fixed
Related Reports
Causes :  
Sub Tasks
JDK-8360143 :  
Description
java.lang.RuntimeException: '\\[0x[0]*7f7dc4043000 - 0x[0]*7f7dc4083000\\] reserved 256KB for Test' missing from stdout/stderr (reserve 2: addr2=140178135986176)
	at VirtualAllocTestType.main(VirtualAllocTestType.java:149)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/java.lang.reflect.Method.invoke(Method.java:565)
	at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
	at java.base/java.lang.Thread.run(Thread.java:1474)

What we do see in the log is:

[0x00007f7dc4003000 - 0x00007f7dc4083000] reserved 512KB for Test from
    [0x00007f7de2833832]WB_NMTReserveMemory+0xf2   (preserveException.hpp:64)
    [0x00007f7dcbca2f1a]
Comments
Changeset: f5201ac1 Branch: master Author: Afshin Zafari <azafari@openjdk.org> Date: 2025-06-24 11:17:48 +0000 URL: https://git.openjdk.org/jdk/commit/f5201ac117fa66638f36cec3bc5f5059b37f2860
24-06-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/25894 Date: 2025-06-19 09:14:14 +0000
19-06-2025

Likely relates to changes from JDK-8337217
19-06-2025