8325752: Remove badMetaWordVal
Reviewed-by: coleenp, tschatzl
This commit is contained in:
parent
864cf22241
commit
9f9a732c38
src/hotspot/share
@ -43,8 +43,6 @@
|
||||
void oopDesc::print_on(outputStream* st) const {
|
||||
if (*((juint*)this) == badHeapWordVal) {
|
||||
st->print_cr("BAD WORD");
|
||||
} else if (*((juint*)this) == badMetaWordVal) {
|
||||
st->print_cr("BAD META WORD");
|
||||
} else {
|
||||
klass()->oop_print_on(cast_to_oop(this), st);
|
||||
}
|
||||
@ -58,8 +56,6 @@ void oopDesc::print_address_on(outputStream* st) const {
|
||||
void oopDesc::print_name_on(outputStream* st) const {
|
||||
if (*((juint*)this) == badHeapWordVal) {
|
||||
st->print_cr("BAD WORD");
|
||||
} else if (*((juint*)this) == badMetaWordVal) {
|
||||
st->print_cr("BAD META WORD");
|
||||
} else {
|
||||
st->print_cr("%s", klass()->external_name());
|
||||
}
|
||||
|
@ -411,8 +411,6 @@ template void stackChunkOopDesc::fix_thawed_frame(const frame& f, const SmallReg
|
||||
void stackChunkOopDesc::print_on(bool verbose, outputStream* st) const {
|
||||
if (*((juint*)this) == badHeapWordVal) {
|
||||
st->print_cr("BAD WORD");
|
||||
} else if (*((juint*)this) == badMetaWordVal) {
|
||||
st->print_cr("BAD META WORD");
|
||||
} else {
|
||||
InstanceStackChunkKlass::print_chunk(const_cast<stackChunkOopDesc*>(this), verbose, st);
|
||||
}
|
||||
|
@ -1040,7 +1040,6 @@ const int uninitBlockPad = 0xF1; // value used to zap
|
||||
const juint uninitMetaWordVal = 0xf7f7f7f7; // value used to zap newly allocated metachunk
|
||||
const jubyte heapPaddingByteVal = 0xBD; // value used to zap object padding in the heap
|
||||
const juint badHeapWordVal = 0xBAADBABE; // value used to zap heap after GC
|
||||
const juint badMetaWordVal = 0xBAADFADE; // value used to zap metadata heap after GC
|
||||
const int badCodeHeapNewVal = 0xCC; // value used to zap Code heap at allocation
|
||||
const int badCodeHeapFreeVal = 0xDD; // value used to zap Code heap at deallocation
|
||||
const intptr_t badDispHeaderDeopt = 0xDE0BD000; // value to fill unused displaced header during deoptimization
|
||||
|
Loading…
x
Reference in New Issue
Block a user