8223589: Build failures after JDK-8223534 (add back fixed test_markOop.cpp)
Reviewed-by: coleenp
--- a/test/hotspot/gtest/oops/test_markOop.cpp Tue Apr 16 13:06:23 2019 -0700
+++ b/test/hotspot/gtest/oops/test_markOop.cpp Wed May 08 23:53:24 2019 +0200
@@ -101,9 +101,11 @@
markOop mark = obj->mark()->incr_bias_epoch();
obj->set_mark(mark);
ObjectSynchronizer::fast_enter(h_obj, lock.lock(), true, THREAD);
+ // Look for the biased_locker in markOop, not prototype_header.
#ifdef _LP64
- // Look for the biased_locker in markOop, not prototype_header.
assert_not_test_pattern(h_obj, "mark(is_biased biased_locker=0x0000000000000000");
+#else
+ assert_not_test_pattern(h_obj, "mark(is_biased biased_locker=0x00000000");
#endif
// Same thread tries to lock it again.