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

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 20
    • 20
    • hotspot
    • gc
    • b05

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: