equal
deleted
inserted
replaced
48 #include "runtime/mutexLocker.hpp" |
48 #include "runtime/mutexLocker.hpp" |
49 #include "runtime/orderAccess.hpp" |
49 #include "runtime/orderAccess.hpp" |
50 #include "runtime/os.hpp" |
50 #include "runtime/os.hpp" |
51 #include "runtime/safepoint.hpp" |
51 #include "runtime/safepoint.hpp" |
52 #include "runtime/thread.inline.hpp" |
52 #include "runtime/thread.inline.hpp" |
53 #include "runtime/vm_operations.hpp" |
53 #include "runtime/vmOperations.hpp" |
54 #include "runtime/vmThread.hpp" |
54 #include "runtime/vmThread.hpp" |
55 |
55 |
56 // set data iff *dest == NULL |
56 // set data iff *dest == NULL |
57 static bool try_set(void* const data, void** dest, bool clear) { |
57 static bool try_set(void* const data, void** dest, bool clear) { |
58 assert(data != NULL, "invariant"); |
58 assert(data != NULL, "invariant"); |