In C1, for the G1/SATB pre-barrier, the SATB active flag is checked once in the generated LIR (in LIRGenerator::G1SATBCardTableModRef_pre_barrier() ), and then again in the runtime stub generated in c1_Runtime1.cpp and probably other CPU arches too. I suggest to remove the check in assembly code. This does not affect correctness.
            
- relates to
- 
                    JDK-8140588 Internal Error: gc/g1/ptrQueue.hpp:126 assert(_index == _sz) failed: invariant: queues are empty when activated -           
- Resolved
 
-         
 P4
  P4