< prev index next >

src/hotspot/cpu/x86/stubGenerator_x86_32.cpp

G1BarrierSet_merge
   //     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:
+      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,12 +725,11 // 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: + 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 >