mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
6849574: VM crash using NonBlockingHashMap (high_scale_lib)
Reviewed-by: kvn
This commit is contained in:
parent
7b9d6a79ac
commit
0f4f530213
3 changed files with 47 additions and 10 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue