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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • 20
    • 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.

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

              Created:
              Updated:
              Resolved: