From 066d7e5e66980a0715e19919f31dc80c29211ab2 Mon Sep 17 00:00:00 2001 From: Alex Menkov Date: Thu, 20 Nov 2025 14:17:30 -0800 Subject: [PATCH] fix --- .../serviceability/jvmti/valhalla/HeapDump/HeapDump.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/hotspot/jtreg/serviceability/jvmti/valhalla/HeapDump/HeapDump.java b/test/hotspot/jtreg/serviceability/jvmti/valhalla/HeapDump/HeapDump.java index 28bf9c82165..0b2ec0ad503 100644 --- a/test/hotspot/jtreg/serviceability/jvmti/valhalla/HeapDump/HeapDump.java +++ b/test/hotspot/jtreg/serviceability/jvmti/valhalla/HeapDump/HeapDump.java @@ -149,8 +149,9 @@ public static void main(String[] args) throws Throwable { try { theApp = new HeapDumpTarg(); - // -XX:+PrintInlineLayout is debug-only arg - LingeredApp.startApp(theApp, "--enable-preview", "-XX:+PrintInlineLayout", "-XX:+PrintFlatArrayLayout", + LingeredApp.startApp(theApp, "--enable-preview", + "-XX:+UnlockDiagnosticVMOptions", + "-XX:+PrintInlineLayout", "-XX:+PrintFlatArrayLayout", "--add-modules=java.base", "--add-exports=java.base/jdk.internal.value=ALL-UNNAMED");