< prev index next >

src/hotspot/share/gc/g1/c1/g1BarrierSetC1.cpp

Print this page
rev 50745 : imported patch remove_in_concurrent_root

@@ -50,15 +50,10 @@
 
 void G1BarrierSetC1::pre_barrier(LIRAccess& access, LIR_Opr addr_opr,
                                  LIR_Opr pre_val, CodeEmitInfo* info) {
   LIRGenerator* gen = access.gen();
   DecoratorSet decorators = access.decorators();
-  bool in_heap = (decorators & IN_HEAP) != 0;
-  bool in_conc_root = (decorators & IN_CONCURRENT_ROOT) != 0;
-  if (!in_heap && !in_conc_root) {
-    return;
-  }
 
   // First we test whether marking is in progress.
   BasicType flag_type;
   bool patch = (decorators & C1_NEEDS_PATCHING) != 0;
   bool do_load = pre_val == LIR_OprFact::illegalOpr;
< prev index next >