< prev index next >

src/hotspot/share/oops/markWord.cpp

Print this page

 82       }
 83     }
 84   } else if (is_locked()) {  // last bits != 01 => 00
 85     // thin locked
 86     st->print(" locked(" INTPTR_FORMAT ")", value());
 87   } else {
 88     st->print(" mark(");
 89     if (is_unlocked()) {   // last bits = 01
 90       st->print("is_unlocked");
 91       if (has_no_hash()) {
 92         st->print(" no_hash");
 93       } else {
 94         st->print(" hash=" INTPTR_FORMAT, hash());
 95       }
 96     } else {
 97       st->print("??");
 98     }
 99     st->print(" age=%d)", age());
100   }
101 }















 82       }
 83     }
 84   } else if (is_locked()) {  // last bits != 01 => 00
 85     // thin locked
 86     st->print(" locked(" INTPTR_FORMAT ")", value());
 87   } else {
 88     st->print(" mark(");
 89     if (is_unlocked()) {   // last bits = 01
 90       st->print("is_unlocked");
 91       if (has_no_hash()) {
 92         st->print(" no_hash");
 93       } else {
 94         st->print(" hash=" INTPTR_FORMAT, hash());
 95       }
 96     } else {
 97       st->print("??");
 98     }
 99     st->print(" age=%d)", age());
100   }
101 }
102 
103 markWord markWord::flat_array_prototype(LayoutKind lk) {
104   switch(lk) {
105     case ATOMIC_FLAT:
106     case NON_ATOMIC_FLAT:
107       return markWord(null_free_flat_array_pattern);
108       break;
109     case NULLABLE_ATOMIC_FLAT:
110       return markWord(nullable_flat_array_pattern);
111       break;
112     default:
113       ShouldNotReachHere();
114   }
115 }
< prev index next >