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

Eliminate use of <atomic> in HotSpot tests

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • 23
    • hotspot
    • svc

      There are a number of HotSpot tests that use the <atomic> standard library header, contrary to HotSpot guidelines and practice. These should be updated to not do so.

      ./serviceability/jvmti/SuspendWithCurrentThread/libSuspendWithCurrentThread.cpp:#include <atomic>
      ./serviceability/jvmti/vthread/FollowReferences/libVThreadStackRefTest.cpp:#include <atomic>
      ./serviceability/jvmti/vthread/GetThreadStateMountedTest/libGetThreadStateMountedTest.cpp:#include <atomic>
      ./serviceability/jvmti/vthread/InterruptThreadTest/libInterruptThreadTest.cpp:#include <atomic>
      ./serviceability/jvmti/vthread/RawMonitorTest/libRawMonitorTest.cpp:#include <atomic>
      ./serviceability/jvmti/vthread/VThreadEventTest/libVThreadEventTest.cpp:#include <atomic>
      ./serviceability/jvmti/vthread/VThreadUnsupportedTest/libVThreadUnsupportedTest.cpp:#include <atomic>
      ./vmTestbase/nsk/jdwp/ThreadReference/ForceEarlyReturn/forceEarlyReturn002/libforceEarlyReturn002a.cpp:#include <atomic>
      ./vmTestbase/nsk/share/jvmti/hotswap/HotSwap.cpp:#include <atomic>

            Unassigned Unassigned
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: