Mercurial > hg > truffle
diff src/share/vm/c1/c1_LIRGenerator.cpp @ 819:c6386080541b
6849574: VM crash using NonBlockingHashMap (high_scale_lib)
Reviewed-by: kvn
author | never |
---|---|
date | Wed, 10 Jun 2009 12:19:48 -0700 |
parents | c96bf21b756f |
children | 148e5441d916 |
line wrap: on
line diff
--- a/src/share/vm/c1/c1_LIRGenerator.cpp Tue Jun 09 16:19:10 2009 -0700 +++ b/src/share/vm/c1/c1_LIRGenerator.cpp Wed Jun 10 12:19:48 2009 -0700 @@ -1534,12 +1534,8 @@ } 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()) {