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

Unify CopySwap and CopyMemory tests

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: