8223412: tier1 build failure after 8222893

Disable the test in PRODUCT

Reviewed-by: dcubed, pliden, kvn
This commit is contained in:
Coleen Phillimore 2019-05-06 18:01:01 -04:00
parent cb62a78492
commit 0c6f7e5516

@ -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 @@ TEST_VM(markOopDesc, printing) {
intx hash = h_obj->identity_hash();
assert_test_pattern(h_obj, "is_neutral hash=0x");
}
#endif // PRODUCT