< prev index next >

src/hotspot/cpu/x86/stubGenerator_x86_32.cpp

G1BarrierSet_merge

*** 676,687 **** // count - element count void gen_write_ref_array_pre_barrier(Register start, Register count, bool uninitialized_target) { assert_different_registers(start, count); BarrierSet* bs = Universe::heap()->barrier_set(); switch (bs->kind()) { ! #if INCLUDE_ALL_GCS ! case BarrierSet::G1SATBCTLogging: // With G1, don't generate the call if we statically know that the target in uninitialized if (!uninitialized_target) { Register thread = rax; Label filtered; __ push(thread); --- 676,686 ---- // count - element count void gen_write_ref_array_pre_barrier(Register start, Register count, bool uninitialized_target) { assert_different_registers(start, count); BarrierSet* bs = Universe::heap()->barrier_set(); switch (bs->kind()) { ! case BarrierSet::G1BarrierSet: // With G1, don't generate the call if we statically know that the target in uninitialized if (!uninitialized_target) { Register thread = rax; Label filtered; __ push(thread); ***************
*** 726,737 **** // void gen_write_ref_array_post_barrier(Register start, Register count) { BarrierSet* bs = Universe::heap()->barrier_set(); assert_different_registers(start, count); switch (bs->kind()) { ! #if INCLUDE_ALL_GCS ! case BarrierSet::G1SATBCTLogging: { __ pusha(); // push registers __ call_VM_leaf(CAST_FROM_FN_PTR(address, BarrierSet::static_write_ref_array_post), start, count); __ popa(); --- 725,735 ---- // void gen_write_ref_array_post_barrier(Register start, Register count) { BarrierSet* bs = Universe::heap()->barrier_set(); assert_different_registers(start, count); switch (bs->kind()) { ! case BarrierSet::G1BarrierSet: { __ pusha(); // push registers __ call_VM_leaf(CAST_FROM_FN_PTR(address, BarrierSet::static_write_ref_array_post), start, count); __ popa();
< prev index next >