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

inline_native_setCurrentThread lacks GC barrier for Shenandoah

    XMLWordPrintable

Details

    • b09

    Description

      inline_native_setCurrentThread was added for loom. It should have been the first IN_NATIVE oop store in C2. Instead of interfacing this properly, a raw store was used. For Shenandoah, this is not enough. Shenandoah scans OopStorage concurrently, and therefore, SATB barriers are required, so the root snapshot is kept consistent.

      Attachments

        Issue Links

          Activity

            People

              wkemper William Kemper
              eosterlund Erik Ă–sterlund
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: