Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8188056

G1/SATB in progress checked twice in C1

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 10
    • 9, 10
    • hotspot
    • None
    • gc
    • x86, aarch64
    • generic

      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.

            rkennke Roman Kennke
            rkennke Roman Kennke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: