6849574: VM crash using NonBlockingHashMap (high_scale_lib)

Reviewed-by: kvn
This commit is contained in:
Tom Rodriguez 2009-06-10 12:19:48 -07:00
parent 7b9d6a79ac
commit 0f4f530213
3 changed files with 47 additions and 10 deletions

View file

@ -1534,12 +1534,8 @@ void LIRGenerator::do_StoreField(StoreField* x) {
}
if (is_oop) {
#ifdef PRECISE_CARDMARK
// Precise cardmarks don't work
post_barrier(LIR_OprFact::address(address), value.result());
#else
// Store to object so mark the card of the header
post_barrier(object.result(), value.result());
#endif // PRECISE_CARDMARK
}
if (is_volatile && os::is_MP()) {