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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: hotspot
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: