Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
1038:71fdc5052e49 | 1039:987e948ebbc8 |
---|---|
29 void markOopDesc::print_on(outputStream* st) const { | 29 void markOopDesc::print_on(outputStream* st) const { |
30 if (is_locked()) { | 30 if (is_locked()) { |
31 st->print("locked(0x%lx)->", value()); | 31 st->print("locked(0x%lx)->", value()); |
32 markOop(*(markOop*)value())->print_on(st); | 32 markOop(*(markOop*)value())->print_on(st); |
33 } else { | 33 } else { |
34 assert(is_unlocked(), "just checking"); | 34 assert(is_unlocked() || has_bias_pattern(), "just checking"); |
35 st->print("mark("); | 35 st->print("mark("); |
36 if (has_bias_pattern()) st->print("biased,"); | |
36 st->print("hash %#lx,", hash()); | 37 st->print("hash %#lx,", hash()); |
37 st->print("age %d)", age()); | 38 st->print("age %d)", age()); |
38 } | 39 } |
39 } | 40 } |
40 | 41 |