JDK-8271898 : disable os.release_multi_mappings_vm on macOS-X64
Type:Sub-task
Component:hotspot
Sub-Component:runtime
Affected Version:18
Priority:P3
Status:Resolved
Resolution:Fixed
Submitted:2021-08-04
Updated:2021-08-05
Resolved:2021-08-04
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.
In order to reduce the noise in the JDK18 CI, I'm disabling the
os.release_multi_mappings_vm subtest in gtest/GTestWrapper.java
on macOS-X64.
Comments
Changeset: d62fbea7
Author: Daniel D. Daugherty <dcubed@openjdk.org>
Date: 2021-08-04 21:06:23 +0000
URL: https://git.openjdk.java.net/jdk/commit/d62fbea7b41f150f25ed3a9a037c081cfdc217b6
04-08-2021
Here's the context diff for the proposed fix:
$ git diff
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) {
#ifndef _AIX // JDK-8257041
-TEST_VM(os, release_multi_mappings) {
+#if defined(__APPLE__) && !defined(AARCH64)
+ 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) {