src/hotspot/share/oops/markOop.cpp
changeset 57777 90ead0febf56
parent 54725 bfa52d3068f5
equal deleted inserted replaced
57774:21dccfac0ec5 57777:90ead0febf56
    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());