equal
deleted
inserted
replaced
25 #include "precompiled.hpp" |
25 #include "precompiled.hpp" |
26 #include "oops/markOop.hpp" |
26 #include "oops/markOop.hpp" |
27 #include "runtime/thread.inline.hpp" |
27 #include "runtime/thread.inline.hpp" |
28 #include "runtime/objectMonitor.hpp" |
28 #include "runtime/objectMonitor.hpp" |
29 |
29 |
30 void markOopDesc::print_on(outputStream* st) const { |
30 void markWord::print_on(outputStream* st) const { |
31 if (is_marked()) { // last bits = 11 |
31 if (is_marked()) { // last bits = 11 |
32 st->print(" marked(" INTPTR_FORMAT ")", value()); |
32 st->print(" marked(" INTPTR_FORMAT ")", value()); |
33 } else if (has_monitor()) { // last bits = 10 |
33 } else if (has_monitor()) { // last bits = 10 |
34 // have to check has_monitor() before is_locked() |
34 // have to check has_monitor() before is_locked() |
35 st->print(" monitor(" INTPTR_FORMAT ")=", value()); |
35 st->print(" monitor(" INTPTR_FORMAT ")=", value()); |