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

C2: Avoid redundant memory barriers in Unsafe.copyMemory0 intrinsic

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 18
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b14

      Description

      Unsafe::copyMemory0 intrinsic unconditionally inserts barriers arounds the call. It is conservative and barriers can be avoided in some cases (similar to what is done for scalar unsafe accesses; e.g., copying between on-heap arrays and off-heap is one of such cases).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vlivanov Vladimir Ivanov
              Reporter:
              vlivanov Vladimir Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: