changeset 54727:0f798f21e8c2

8223412: tier1 build failure after 8222893 Summary: disable the test in PRODUCT Reviewed-by: dcubed, pliden, kvn
author coleenp
date Mon, 06 May 2019 18:01:01 -0400
parents 671e35cf611b
children 6188582d58b5
files test/hotspot/gtest/oops/test_markOop.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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