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

Shenandoah: Clean up SATB barrier runtime entry points

XMLWordPrintable

    • gc

      The runtime entry points for the SATB slow-paths currently take a JavaThread* argument. When I did the entry points for Graal (JDK-8356075), we figured that we do not really need them. The slow-path is only called rarely (whenever the local SATB buffer is full), and getting the current Thread* in the runtime would not be the expensive part.

      We should clean up all the calls to the runtime to use the new entry point that we also use for Graal (ShenandoahRuntime::write_barrier_pre(oopDesc* orig)), and then get rid of the old entry that accepts the Thread*.

            cslucas Cesar Soares
            rkennke Roman Kennke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: