G1: Remove unnecessary is-marking-active check in G1BarrierSetRuntime::write_ref_field_pre_entry

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 20
    • Affects Version/s: 20
    • Component/s: hotspot
    • gc
    • b05

      In `G1BarrierSetRuntime::write_ref_field_pre_entry`, `G1BarrierSet::satb_mark_queue_set().enqueue(...)` is called. However, in this context we already know marking is active, so `enqueue_known_active` can be used instead.

            Assignee:
            Albert Yang
            Reporter:
            Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: