6696264: assert("narrow oop can never be zero") for GCBasher & ParNewGC

Decouple set_klass() with zeroing the gap when compressed.

Reviewed-by: kvn, ysr, jrose
This commit is contained in:
Coleen Phillimore 2008-05-28 21:06:24 -07:00
parent 1f9e095ee3
commit 646ceb4a45
12 changed files with 67 additions and 20 deletions

View file

@ -1931,6 +1931,7 @@ run:
} else {
result->set_mark(markOopDesc::prototype());
}
result->set_klass_gap(0);
result->set_klass(k_entry);
SET_STACK_OBJECT(result, 0);
UPDATE_PC_AND_TOS_AND_CONTINUE(3, 1);