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

Unify CopySwap and CopyMemory tests

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 9
    • None
    • core-libs
    • None
    • b112

    Description

      As a temporary shortcut for JDK-8149159 I chose to copy the jdk/test/jdk/internal/misc/Unsafe/CopySwap.java test (which tests Unsafe.copySwapMemory) and just adapt it for testing Unsafe.copyMemory. However, a lot of the test code is the exact same, and having two copies of it is for obvious reasons not ideal.

      The CopySwap and CopyMemory tests should be unified and to the extent possible the code should be shared.

      Attachments

        Issue Links

          Activity

            People

              mikael Mikael Vidstedt
              mikael Mikael Vidstedt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: