From d62fbea7b41f150f25ed3a9a037c081cfdc217b6 Mon Sep 17 00:00:00 2001 From: "Daniel D. Daugherty" Date: Wed, 4 Aug 2021 21:06:23 +0000 Subject: [PATCH] 8271898: disable os.release_multi_mappings_vm on macOS-X64 Reviewed-by: kbarrett --- test/hotspot/gtest/runtime/test_os.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/hotspot/gtest/runtime/test_os.cpp b/test/hotspot/gtest/runtime/test_os.cpp index d19560730c7..3cf5d1c374b 100644 --- a/test/hotspot/gtest/runtime/test_os.cpp +++ b/test/hotspot/gtest/runtime/test_os.cpp @@ -413,7 +413,11 @@ struct NUMASwitcher { #endif #ifndef _AIX // JDK-8257041 -TEST_VM(os, release_multi_mappings) { +#if defined(__APPLE__) && !defined(AARCH64) // See JDK-8267341. + TEST_VM(os, DISABLED_release_multi_mappings) { +#else + TEST_VM(os, release_multi_mappings) { +#endif // With NMT enabled, this will trigger JDK-8263464. For now disable the test if NMT=on. if (MemTracker::tracking_level() > NMT_off) {