hotspot/src/share/vm/oops/markOop.cpp
changeset 4094 1f424b2b2171
parent 670 ddf3e9583f2f
child 5547 f4b087cbb361
equal deleted inserted replaced
4093:56d7f1c2102c 4094:1f424b2b2171
    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