changeset 54771:d266d24b6a0e

8223589: Build failures after JDK-8223534 (add back fixed test_markOop.cpp) Reviewed-by: coleenp
author shade
date Wed, 08 May 2019 23:53:24 +0200
parents 62b6e7587b1f
children 7e172c330a15
files test/hotspot/gtest/oops/test_markOop.cpp
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.