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

[lworld] C2: Partially initialized value type buffer might be observed by other thread

XMLWordPrintable

      Buffer initialization in ValueTypeNode::allocate and ValueTypeNode::finish_larval needs a barrier similar to what we do for the clone intrinsic:
          // Do not let stores that initialize this object be reordered with
          // a subsequent store that would make this object accessible by
          // other threads.

            thartmann Tobias Hartmann
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: