8223412: tier1 build failure after 8222893
Summary: disable the test in PRODUCT
Reviewed-by: dcubed, pliden, kvn
--- a/test/hotspot/gtest/oops/test_markOop.cpp Mon May 06 14:19:48 2019 -0700
+++ b/test/hotspot/gtest/oops/test_markOop.cpp Mon May 06 18:01:01 2019 -0400
@@ -36,6 +36,8 @@
#include "utilities/globalDefinitions.hpp"
#include "utilities/ostream.hpp"
+// The test doesn't work for PRODUCT because it needs WizardMode
+#ifndef PRODUCT
static bool test_pattern(stringStream* st, const char* pattern) {
return (strstr(st->as_string(), pattern) != NULL);
}
@@ -135,3 +137,4 @@
intx hash = h_obj->identity_hash();
assert_test_pattern(h_obj, "is_neutral hash=0x");
}
+#endif // PRODUCT