8223412: tier1 build failure after 8222893
authorcoleenp
Mon, 06 May 2019 18:01:01 -0400
changeset 54727 0f798f21e8c2
parent 54726 671e35cf611b
child 54728 6188582d58b5
8223412: tier1 build failure after 8222893 Summary: disable the test in PRODUCT Reviewed-by: dcubed, pliden, kvn
test/hotspot/gtest/oops/test_markOop.cpp
--- 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