comparison 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
comparison
equal deleted inserted replaced
818:b109e761e927 819:c6386080541b
1532 LIR_PatchCode patch_code = needs_patching ? lir_patch_normal : lir_patch_none; 1532 LIR_PatchCode patch_code = needs_patching ? lir_patch_normal : lir_patch_none;
1533 __ store(value.result(), address, info, patch_code); 1533 __ store(value.result(), address, info, patch_code);
1534 } 1534 }
1535 1535
1536 if (is_oop) { 1536 if (is_oop) {
1537 #ifdef PRECISE_CARDMARK 1537 // Store to object so mark the card of the header
1538 // Precise cardmarks don't work
1539 post_barrier(LIR_OprFact::address(address), value.result());
1540 #else
1541 post_barrier(object.result(), value.result()); 1538 post_barrier(object.result(), value.result());
1542 #endif // PRECISE_CARDMARK
1543 } 1539 }
1544 1540
1545 if (is_volatile && os::is_MP()) { 1541 if (is_volatile && os::is_MP()) {
1546 __ membar(); 1542 __ membar();
1547 } 1543 }