diff src/share/vm/oops/markOop.cpp @ 1039:987e948ebbc8

6815692: method handle code needs some cleanup (post-6655638) Summary: correctly raise exceptions, support safe bitwise "raw" conversions, fix bugs revealed by VerifyMethodHandles, remove dead code, improve debugging support Reviewed-by: never, twisti
author jrose
date Sat, 17 Oct 2009 19:51:05 -0700
parents d1605aabd0a1
children c18cbe5936b8
line wrap: on
line diff
--- a/src/share/vm/oops/markOop.cpp	Fri Oct 16 16:14:12 2009 -0700
+++ b/src/share/vm/oops/markOop.cpp	Sat Oct 17 19:51:05 2009 -0700
@@ -31,8 +31,9 @@
     st->print("locked(0x%lx)->", value());
     markOop(*(markOop*)value())->print_on(st);
   } else {
-    assert(is_unlocked(), "just checking");
+    assert(is_unlocked() || has_bias_pattern(), "just checking");
     st->print("mark(");
+    if (has_bias_pattern())  st->print("biased,");
     st->print("hash %#lx,", hash());
     st->print("age %d)", age());
   }