8223589: Build failures after JDK-8223534 (add back fixed test_markOop.cpp)
authorshade
Wed, 08 May 2019 23:53:24 +0200
changeset 54771 d266d24b6a0e
parent 54770 62b6e7587b1f
child 54772 7e172c330a15
8223589: Build failures after JDK-8223534 (add back fixed test_markOop.cpp) Reviewed-by: coleenp
test/hotspot/gtest/oops/test_markOop.cpp
--- 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.