< prev index next >

src/hotspot/cpu/arm/c1_Runtime1_arm.cpp

Print this page

        

@@ -539,11 +539,11 @@
         // Input:
         // - pre_val pushed on the stack
 
         __ set_info("g1_pre_barrier_slow_id", dont_gc_arguments);
 
-        BarrierSet* bs = Universe::heap()->barrier_set();
+        BarrierSet* bs = BarrierSet::barrier_set();
         if (bs->kind() != BarrierSet::G1BarrierSet) {
           __ mov(R0, (int)id);
           __ call_RT(noreg, noreg, CAST_FROM_FN_PTR(address, unimplemented_entry), R0);
           __ should_not_reach_here();
           break;

@@ -616,11 +616,11 @@
         // Input:
         // - store_addr, pushed on the stack
 
         __ set_info("g1_post_barrier_slow_id", dont_gc_arguments);
 
-        BarrierSet* bs = Universe::heap()->barrier_set();
+        BarrierSet* bs = BarrierSet::barrier_set();
         if (bs->kind() != BarrierSet::G1BarrierSet) {
           __ mov(R0, (int)id);
           __ call_RT(noreg, noreg, CAST_FROM_FN_PTR(address, unimplemented_entry), R0);
           __ should_not_reach_here();
           break;
< prev index next >