8234748: Clean up atomic and orderAccess includes

Reviewed-by: dholmes
This commit is contained in:
Stefan Karlsson 2019-11-26 10:47:46 +01:00
parent a5b3bfd8a2
commit 161333eeba
127 changed files with 88 additions and 79 deletions

View File

@ -30,6 +30,7 @@
#include "nativeInst_aarch64.hpp" #include "nativeInst_aarch64.hpp"
#include "oops/oop.inline.hpp" #include "oops/oop.inline.hpp"
#include "runtime/handles.hpp" #include "runtime/handles.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/sharedRuntime.hpp" #include "runtime/sharedRuntime.hpp"
#include "runtime/stubRoutines.hpp" #include "runtime/stubRoutines.hpp"
#include "utilities/ostream.hpp" #include "utilities/ostream.hpp"

View File

@ -28,6 +28,7 @@
#include "asm/macroAssembler.hpp" #include "asm/macroAssembler.hpp"
#include "code/codeCache.hpp" #include "code/codeCache.hpp"
#include "runtime/icache.hpp" #include "runtime/icache.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"
#include "runtime/thread.hpp" #include "runtime/thread.hpp"
#include "register_arm.hpp" #include "register_arm.hpp"

View File

@ -29,7 +29,6 @@
#include "nativeInst_arm.hpp" #include "nativeInst_arm.hpp"
#include "oops/compressedOops.inline.hpp" #include "oops/compressedOops.inline.hpp"
#include "oops/oop.hpp" #include "oops/oop.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/safepoint.hpp" #include "runtime/safepoint.hpp"
void Relocation::pd_set_data_value(address x, intptr_t o, bool verify_only) { void Relocation::pd_set_data_value(address x, intptr_t o, bool verify_only) {

View File

@ -24,6 +24,7 @@
#include "precompiled.hpp" #include "precompiled.hpp"
#include "rdtsc_x86.hpp" #include "rdtsc_x86.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/thread.inline.hpp" #include "runtime/thread.inline.hpp"
#include "vm_version_ext_x86.hpp" #include "vm_version_ext_x86.hpp"

View File

@ -38,13 +38,11 @@
#include "prims/jvmtiExport.hpp" #include "prims/jvmtiExport.hpp"
#include "prims/jvmtiThreadState.hpp" #include "prims/jvmtiThreadState.hpp"
#include "runtime/arguments.hpp" #include "runtime/arguments.hpp"
#include "runtime/atomic.hpp"
#include "runtime/deoptimization.hpp" #include "runtime/deoptimization.hpp"
#include "runtime/frame.inline.hpp" #include "runtime/frame.inline.hpp"
#include "runtime/handles.inline.hpp" #include "runtime/handles.inline.hpp"
#include "runtime/interfaceSupport.inline.hpp" #include "runtime/interfaceSupport.inline.hpp"
#include "runtime/jniHandles.inline.hpp" #include "runtime/jniHandles.inline.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/sharedRuntime.hpp" #include "runtime/sharedRuntime.hpp"
#include "runtime/stubRoutines.hpp" #include "runtime/stubRoutines.hpp"
#include "runtime/synchronizer.hpp" #include "runtime/synchronizer.hpp"

View File

@ -60,7 +60,6 @@
#include "runtime/javaCalls.hpp" #include "runtime/javaCalls.hpp"
#include "runtime/mutexLocker.hpp" #include "runtime/mutexLocker.hpp"
#include "runtime/objectMonitor.hpp" #include "runtime/objectMonitor.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"
#include "runtime/osThread.hpp" #include "runtime/osThread.hpp"
#include "runtime/perfMemory.hpp" #include "runtime/perfMemory.hpp"

View File

@ -53,7 +53,6 @@
#include "runtime/javaCalls.hpp" #include "runtime/javaCalls.hpp"
#include "runtime/mutexLocker.hpp" #include "runtime/mutexLocker.hpp"
#include "runtime/objectMonitor.hpp" #include "runtime/objectMonitor.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/osThread.hpp" #include "runtime/osThread.hpp"
#include "runtime/perfMemory.hpp" #include "runtime/perfMemory.hpp"
#include "runtime/sharedRuntime.hpp" #include "runtime/sharedRuntime.hpp"

View File

@ -30,6 +30,7 @@
#include "runtime/frame.inline.hpp" #include "runtime/frame.inline.hpp"
#include "runtime/interfaceSupport.inline.hpp" #include "runtime/interfaceSupport.inline.hpp"
#include "services/memTracker.hpp" #include "services/memTracker.hpp"
#include "runtime/orderAccess.hpp"
#include "utilities/align.hpp" #include "utilities/align.hpp"
#include "utilities/events.hpp" #include "utilities/events.hpp"
#include "utilities/formatBuffer.hpp" #include "utilities/formatBuffer.hpp"

View File

@ -23,7 +23,6 @@
*/ */
// no precompiled headers // no precompiled headers
#include "runtime/orderAccess.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"
#include "runtime/osThread.hpp" #include "runtime/osThread.hpp"

View File

@ -40,6 +40,7 @@
#include "oops/compressedOops.hpp" #include "oops/compressedOops.hpp"
#include "oops/klass.inline.hpp" #include "oops/klass.inline.hpp"
#include "oops/method.inline.hpp" #include "oops/method.inline.hpp"
#include "runtime/atomic.hpp"
#include "runtime/deoptimization.hpp" #include "runtime/deoptimization.hpp"
#include "runtime/handles.inline.hpp" #include "runtime/handles.inline.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"

View File

@ -37,6 +37,7 @@
#include "runtime/frame.inline.hpp" #include "runtime/frame.inline.hpp"
#include "runtime/handles.inline.hpp" #include "runtime/handles.inline.hpp"
#include "runtime/java.hpp" #include "runtime/java.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"
#include "runtime/safepointVerifiers.hpp" #include "runtime/safepointVerifiers.hpp"
#include "runtime/sharedRuntime.hpp" #include "runtime/sharedRuntime.hpp"

View File

@ -29,7 +29,6 @@
#include "gc/shared/collectedHeap.hpp" #include "gc/shared/collectedHeap.hpp"
#include "memory/universe.hpp" #include "memory/universe.hpp"
#include "oops/compressedOops.hpp" #include "oops/compressedOops.hpp"
#include "runtime/atomic.hpp"
#include "runtime/icache.hpp" #include "runtime/icache.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"
#include "runtime/thread.hpp" #include "runtime/thread.hpp"

View File

@ -26,7 +26,7 @@
#define SHARE_CLASSFILE_CLASSLOADER_INLINE_HPP #define SHARE_CLASSFILE_CLASSLOADER_INLINE_HPP
#include "classfile/classLoader.hpp" #include "classfile/classLoader.hpp"
#include "runtime/orderAccess.hpp" #include "runtime/atomic.hpp"
// Next entry in class path // Next entry in class path
inline ClassPathEntry* ClassPathEntry::next() const { return Atomic::load_acquire(&_next); } inline ClassPathEntry* ClassPathEntry::next() const { return Atomic::load_acquire(&_next); }

View File

@ -67,7 +67,6 @@
#include "runtime/atomic.hpp" #include "runtime/atomic.hpp"
#include "runtime/handles.inline.hpp" #include "runtime/handles.inline.hpp"
#include "runtime/mutex.hpp" #include "runtime/mutex.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/safepoint.hpp" #include "runtime/safepoint.hpp"
#include "utilities/growableArray.hpp" #include "utilities/growableArray.hpp"
#include "utilities/macros.hpp" #include "utilities/macros.hpp"

View File

@ -38,7 +38,6 @@
#include "runtime/atomic.hpp" #include "runtime/atomic.hpp"
#include "runtime/handles.inline.hpp" #include "runtime/handles.inline.hpp"
#include "runtime/mutex.hpp" #include "runtime/mutex.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/safepoint.hpp" #include "runtime/safepoint.hpp"
#include "runtime/safepointVerifiers.hpp" #include "runtime/safepointVerifiers.hpp"
#include "utilities/growableArray.hpp" #include "utilities/growableArray.hpp"

View File

@ -33,8 +33,6 @@
#include "memory/metaspaceClosure.hpp" #include "memory/metaspaceClosure.hpp"
#include "memory/resourceArea.hpp" #include "memory/resourceArea.hpp"
#include "oops/oop.inline.hpp" #include "oops/oop.inline.hpp"
#include "runtime/atomic.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/mutexLocker.hpp" #include "runtime/mutexLocker.hpp"
#include "runtime/safepointVerifiers.hpp" #include "runtime/safepointVerifiers.hpp"
#include "utilities/hashtable.inline.hpp" #include "utilities/hashtable.inline.hpp"

View File

@ -79,7 +79,6 @@
#include "runtime/java.hpp" #include "runtime/java.hpp"
#include "runtime/javaCalls.hpp" #include "runtime/javaCalls.hpp"
#include "runtime/mutexLocker.hpp" #include "runtime/mutexLocker.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/sharedRuntime.hpp" #include "runtime/sharedRuntime.hpp"
#include "runtime/signature.hpp" #include "runtime/signature.hpp"
#include "services/classLoadingService.hpp" #include "services/classLoadingService.hpp"

View File

@ -50,7 +50,6 @@
#include "runtime/interfaceSupport.inline.hpp" #include "runtime/interfaceSupport.inline.hpp"
#include "runtime/javaCalls.hpp" #include "runtime/javaCalls.hpp"
#include "runtime/jniHandles.inline.hpp" #include "runtime/jniHandles.inline.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"
#include "runtime/safepointVerifiers.hpp" #include "runtime/safepointVerifiers.hpp"
#include "runtime/thread.hpp" #include "runtime/thread.hpp"

View File

@ -47,6 +47,7 @@
#include "oops/oop.inline.hpp" #include "oops/oop.inline.hpp"
#include "oops/verifyOopClosure.hpp" #include "oops/verifyOopClosure.hpp"
#include "runtime/arguments.hpp" #include "runtime/arguments.hpp"
#include "runtime/atomic.hpp"
#include "runtime/deoptimization.hpp" #include "runtime/deoptimization.hpp"
#include "runtime/handles.inline.hpp" #include "runtime/handles.inline.hpp"
#include "runtime/icache.hpp" #include "runtime/icache.hpp"

View File

@ -38,6 +38,7 @@
#include "oops/methodData.hpp" #include "oops/methodData.hpp"
#include "oops/method.inline.hpp" #include "oops/method.inline.hpp"
#include "prims/methodHandles.hpp" #include "prims/methodHandles.hpp"
#include "runtime/atomic.hpp"
#include "runtime/deoptimization.hpp" #include "runtime/deoptimization.hpp"
#include "runtime/handles.inline.hpp" #include "runtime/handles.inline.hpp"
#include "runtime/mutexLocker.hpp" #include "runtime/mutexLocker.hpp"

View File

@ -27,8 +27,8 @@
#include "code/compiledMethod.hpp" #include "code/compiledMethod.hpp"
#include "code/nativeInst.hpp" #include "code/nativeInst.hpp"
#include "runtime/atomic.hpp"
#include "runtime/frame.hpp" #include "runtime/frame.hpp"
#include "runtime/orderAccess.hpp"
inline bool CompiledMethod::is_deopt_pc(address pc) { return is_deopt_entry(pc) || is_deopt_mh_entry(pc); } inline bool CompiledMethod::is_deopt_pc(address pc) { return is_deopt_entry(pc) || is_deopt_mh_entry(pc); }

View File

@ -28,6 +28,7 @@
#include "code/dependencyContext.hpp" #include "code/dependencyContext.hpp"
#include "memory/resourceArea.hpp" #include "memory/resourceArea.hpp"
#include "runtime/atomic.hpp" #include "runtime/atomic.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/perfData.hpp" #include "runtime/perfData.hpp"
#include "utilities/exceptions.hpp" #include "utilities/exceptions.hpp"

View File

@ -29,6 +29,7 @@
#include "compiler/abstractCompiler.hpp" #include "compiler/abstractCompiler.hpp"
#include "compiler/compileTask.hpp" #include "compiler/compileTask.hpp"
#include "compiler/compilerDirectives.hpp" #include "compiler/compilerDirectives.hpp"
#include "runtime/atomic.hpp"
#include "runtime/perfData.hpp" #include "runtime/perfData.hpp"
#include "utilities/stack.hpp" #include "utilities/stack.hpp"
#if INCLUDE_JVMCI #if INCLUDE_JVMCI

View File

@ -31,6 +31,7 @@
#include "memory/allocation.inline.hpp" #include "memory/allocation.inline.hpp"
#include "memory/resourceArea.hpp" #include "memory/resourceArea.hpp"
#include "memory/universe.hpp" #include "memory/universe.hpp"
#include "runtime/atomic.hpp"
#include "runtime/globals.hpp" #include "runtime/globals.hpp"
jint EpsilonHeap::initialize() { jint EpsilonHeap::initialize() {

View File

@ -37,6 +37,7 @@
#include "oops/oop.inline.hpp" #include "oops/oop.inline.hpp"
#include "runtime/interfaceSupport.inline.hpp" #include "runtime/interfaceSupport.inline.hpp"
#include "runtime/mutexLocker.hpp" #include "runtime/mutexLocker.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/thread.inline.hpp" #include "runtime/thread.inline.hpp"
#include "utilities/macros.hpp" #include "utilities/macros.hpp"
#ifdef COMPILER1 #ifdef COMPILER1

View File

@ -28,7 +28,6 @@
#include "gc/shared/memset_with_concurrent_readers.hpp" #include "gc/shared/memset_with_concurrent_readers.hpp"
#include "logging/log.hpp" #include "logging/log.hpp"
#include "runtime/atomic.hpp" #include "runtime/atomic.hpp"
#include "runtime/orderAccess.hpp"
void G1CardTable::g1_mark_as_young(const MemRegion& mr) { void G1CardTable::g1_mark_as_young(const MemRegion& mr) {
CardValue *const first = byte_for(mr.start()); CardValue *const first = byte_for(mr.start());

View File

@ -32,6 +32,7 @@
#include "memory/iterator.hpp" #include "memory/iterator.hpp"
#include "oops/access.inline.hpp" #include "oops/access.inline.hpp"
#include "oops/oop.inline.hpp" #include "oops/oop.inline.hpp"
#include "runtime/atomic.hpp"
#include "utilities/hashtable.inline.hpp" #include "utilities/hashtable.inline.hpp"
#include "utilities/stack.inline.hpp" #include "utilities/stack.inline.hpp"

View File

@ -34,7 +34,6 @@
#include "gc/g1/heapRegionRemSet.hpp" #include "gc/g1/heapRegionRemSet.hpp"
#include "gc/g1/heapRegionSet.inline.hpp" #include "gc/g1/heapRegionSet.inline.hpp"
#include "gc/shared/taskqueue.inline.hpp" #include "gc/shared/taskqueue.inline.hpp"
#include "runtime/orderAccess.hpp"
G1GCPhaseTimes* G1CollectedHeap::phase_times() const { G1GCPhaseTimes* G1CollectedHeap::phase_times() const {
return _policy->phase_times(); return _policy->phase_times();

View File

@ -33,6 +33,7 @@
#include "gc/g1/heapRegionRemSet.hpp" #include "gc/g1/heapRegionRemSet.hpp"
#include "gc/g1/heapRegionSet.hpp" #include "gc/g1/heapRegionSet.hpp"
#include "logging/logStream.hpp" #include "logging/logStream.hpp"
#include "runtime/orderAccess.hpp"
#include "utilities/debug.hpp" #include "utilities/debug.hpp"
#include "utilities/globalDefinitions.hpp" #include "utilities/globalDefinitions.hpp"
#include "utilities/quickSort.hpp" #include "utilities/quickSort.hpp"

View File

@ -62,6 +62,7 @@
#include "runtime/atomic.hpp" #include "runtime/atomic.hpp"
#include "runtime/handles.inline.hpp" #include "runtime/handles.inline.hpp"
#include "runtime/java.hpp" #include "runtime/java.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/prefetch.inline.hpp" #include "runtime/prefetch.inline.hpp"
#include "services/memTracker.hpp" #include "services/memTracker.hpp"
#include "utilities/align.hpp" #include "utilities/align.hpp"

View File

@ -34,9 +34,9 @@
#include "gc/g1/heapRegionRemSet.hpp" #include "gc/g1/heapRegionRemSet.hpp"
#include "gc/shared/suspendibleThreadSet.hpp" #include "gc/shared/suspendibleThreadSet.hpp"
#include "gc/shared/workgroup.hpp" #include "gc/shared/workgroup.hpp"
#include "runtime/atomic.hpp"
#include "runtime/flags/flagSetting.hpp" #include "runtime/flags/flagSetting.hpp"
#include "runtime/mutexLocker.hpp" #include "runtime/mutexLocker.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"
#include "runtime/safepoint.hpp" #include "runtime/safepoint.hpp"
#include "runtime/thread.inline.hpp" #include "runtime/thread.inline.hpp"

View File

@ -25,6 +25,7 @@
#include "precompiled.hpp" #include "precompiled.hpp"
#include "gc/g1/g1ParallelCleaning.hpp" #include "gc/g1/g1ParallelCleaning.hpp"
#include "runtime/atomic.hpp"
#if INCLUDE_JVMCI #if INCLUDE_JVMCI
#include "jvmci/jvmci.hpp" #include "jvmci/jvmci.hpp"
#endif #endif

View File

@ -49,6 +49,7 @@
#include "memory/resourceArea.hpp" #include "memory/resourceArea.hpp"
#include "oops/access.inline.hpp" #include "oops/access.inline.hpp"
#include "oops/oop.inline.hpp" #include "oops/oop.inline.hpp"
#include "runtime/atomic.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"
#include "utilities/align.hpp" #include "utilities/align.hpp"
#include "utilities/globalDefinitions.hpp" #include "utilities/globalDefinitions.hpp"

View File

@ -34,7 +34,6 @@
#include "gc/shared/stringdedup/stringDedupTable.hpp" #include "gc/shared/stringdedup/stringDedupTable.hpp"
#include "gc/shared/stringdedup/stringDedupThread.inline.hpp" #include "gc/shared/stringdedup/stringDedupThread.inline.hpp"
#include "oops/oop.inline.hpp" #include "oops/oop.inline.hpp"
#include "runtime/atomic.hpp"
void G1StringDedup::initialize() { void G1StringDedup::initialize() {
assert(UseG1GC, "String deduplication available with G1"); assert(UseG1GC, "String deduplication available with G1");
@ -88,4 +87,3 @@ void G1StringDedup::enqueue_from_evacuation(bool from_young, bool to_young, uint
G1StringDedupQueue::push(worker_id, java_string); G1StringDedupQueue::push(worker_id, java_string);
} }
} }

View File

@ -43,8 +43,6 @@
#include "oops/access.inline.hpp" #include "oops/access.inline.hpp"
#include "oops/compressedOops.inline.hpp" #include "oops/compressedOops.inline.hpp"
#include "oops/oop.inline.hpp" #include "oops/oop.inline.hpp"
#include "runtime/atomic.hpp"
#include "runtime/orderAccess.hpp"
int HeapRegion::LogOfHRGrainBytes = 0; int HeapRegion::LogOfHRGrainBytes = 0;
int HeapRegion::LogOfHRGrainWords = 0; int HeapRegion::LogOfHRGrainWords = 0;

View File

@ -33,6 +33,8 @@
#include "gc/g1/heterogeneousHeapRegionManager.hpp" #include "gc/g1/heterogeneousHeapRegionManager.hpp"
#include "logging/logStream.hpp" #include "logging/logStream.hpp"
#include "memory/allocation.hpp" #include "memory/allocation.hpp"
#include "runtime/atomic.hpp"
#include "runtime/orderAccess.hpp"
#include "utilities/bitMap.inline.hpp" #include "utilities/bitMap.inline.hpp"
class MasterFreeRegionListChecker : public HeapRegionSetChecker { class MasterFreeRegionListChecker : public HeapRegionSetChecker {

View File

@ -28,6 +28,7 @@
#include "gc/g1/g1CodeCacheRemSet.hpp" #include "gc/g1/g1CodeCacheRemSet.hpp"
#include "gc/g1/g1FromCardCache.hpp" #include "gc/g1/g1FromCardCache.hpp"
#include "gc/g1/sparsePRT.hpp" #include "gc/g1/sparsePRT.hpp"
#include "runtime/atomic.hpp"
#include "utilities/bitMap.hpp" #include "utilities/bitMap.hpp"
// Remembered set for a heap region. Represent a set of "cards" that // Remembered set for a heap region. Represent a set of "cards" that

View File

@ -28,6 +28,7 @@
#include "gc/g1/heapRegion.inline.hpp" #include "gc/g1/heapRegion.inline.hpp"
#include "gc/g1/heapRegionRemSet.hpp" #include "gc/g1/heapRegionRemSet.hpp"
#include "gc/g1/sparsePRT.hpp" #include "gc/g1/sparsePRT.hpp"
#include "runtime/atomic.hpp"
#include "utilities/bitMap.inline.hpp" #include "utilities/bitMap.inline.hpp"
template <class Closure> template <class Closure>

View File

@ -30,7 +30,6 @@
#include "gc/shared/cardTableBarrierSet.hpp" #include "gc/shared/cardTableBarrierSet.hpp"
#include "gc/shared/space.inline.hpp" #include "gc/shared/space.inline.hpp"
#include "memory/allocation.inline.hpp" #include "memory/allocation.inline.hpp"
#include "runtime/atomic.hpp"
#include "runtime/mutexLocker.hpp" #include "runtime/mutexLocker.hpp"
// Check that the size of the SparsePRTEntry is evenly divisible by the maximum // Check that the size of the SparsePRTEntry is evenly divisible by the maximum

View File

@ -39,7 +39,6 @@
#include "oops/instanceMirrorKlass.inline.hpp" #include "oops/instanceMirrorKlass.inline.hpp"
#include "oops/objArrayKlass.inline.hpp" #include "oops/objArrayKlass.inline.hpp"
#include "oops/oop.inline.hpp" #include "oops/oop.inline.hpp"
#include "runtime/atomic.hpp"
PSOldGen* ParCompactionManager::_old_gen = NULL; PSOldGen* ParCompactionManager::_old_gen = NULL;
ParCompactionManager** ParCompactionManager::_manager_array = NULL; ParCompactionManager** ParCompactionManager::_manager_array = NULL;

View File

@ -32,6 +32,8 @@
#include "gc/shared/collectedHeap.hpp" #include "gc/shared/collectedHeap.hpp"
#include "gc/shared/collectorCounters.hpp" #include "gc/shared/collectorCounters.hpp"
#include "oops/oop.hpp" #include "oops/oop.hpp"
#include "runtime/atomic.hpp"
#include "runtime/orderAccess.hpp"
class ParallelScavengeHeap; class ParallelScavengeHeap;
class PSAdaptiveSizePolicy; class PSAdaptiveSizePolicy;

View File

@ -51,7 +51,6 @@
#include "memory/resourceArea.hpp" #include "memory/resourceArea.hpp"
#include "oops/instanceRefKlass.hpp" #include "oops/instanceRefKlass.hpp"
#include "oops/oop.inline.hpp" #include "oops/oop.inline.hpp"
#include "runtime/atomic.hpp"
#include "runtime/java.hpp" #include "runtime/java.hpp"
#include "runtime/prefetch.inline.hpp" #include "runtime/prefetch.inline.hpp"
#include "runtime/thread.inline.hpp" #include "runtime/thread.inline.hpp"

View File

@ -24,9 +24,9 @@
#include "precompiled.hpp" #include "precompiled.hpp"
#include "gc/shared/concurrentGCThread.hpp" #include "gc/shared/concurrentGCThread.hpp"
#include "runtime/atomic.hpp"
#include "runtime/init.hpp" #include "runtime/init.hpp"
#include "runtime/mutexLocker.hpp" #include "runtime/mutexLocker.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"
ConcurrentGCThread::ConcurrentGCThread() : ConcurrentGCThread::ConcurrentGCThread() :

View File

@ -30,6 +30,7 @@
#include "logging/log.hpp" #include "logging/log.hpp"
#include "memory/resourceArea.hpp" #include "memory/resourceArea.hpp"
#include "logging/log.hpp" #include "logging/log.hpp"
#include "runtime/atomic.hpp"
StringDedupCleaningTask::StringDedupCleaningTask(BoolObjectClosure* is_alive, StringDedupCleaningTask::StringDedupCleaningTask(BoolObjectClosure* is_alive,
OopClosure* keep_alive, OopClosure* keep_alive,

View File

@ -28,6 +28,7 @@
#include "memory/allocation.inline.hpp" #include "memory/allocation.inline.hpp"
#include "memory/resourceArea.hpp" #include "memory/resourceArea.hpp"
#include "oops/oop.inline.hpp" #include "oops/oop.inline.hpp"
#include "runtime/atomic.hpp"
#include "utilities/macros.hpp" #include "utilities/macros.hpp"
void PreservedMarks::restore() { void PreservedMarks::restore() {

View File

@ -30,7 +30,6 @@
#include "runtime/atomic.hpp" #include "runtime/atomic.hpp"
#include "runtime/mutex.hpp" #include "runtime/mutex.hpp"
#include "runtime/mutexLocker.hpp" #include "runtime/mutexLocker.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/thread.inline.hpp" #include "runtime/thread.inline.hpp"
#include "utilities/globalCounter.inline.hpp" #include "utilities/globalCounter.inline.hpp"

View File

@ -30,6 +30,7 @@
#include "logging/log.hpp" #include "logging/log.hpp"
#include "logging/logStream.hpp" #include "logging/logStream.hpp"
#include "memory/allocation.inline.hpp" #include "memory/allocation.inline.hpp"
#include "runtime/atomic.hpp"
#define ASSERT_REF_TYPE(ref_type) assert((ref_type) >= REF_SOFT && (ref_type) <= REF_PHANTOM, \ #define ASSERT_REF_TYPE(ref_type) assert((ref_type) >= REF_SOFT && (ref_type) <= REF_PHANTOM, \
"Invariant (%d)", (int)ref_type) "Invariant (%d)", (int)ref_type)

View File

@ -30,7 +30,6 @@
#include "oops/oop.inline.hpp" #include "oops/oop.inline.hpp"
#include "runtime/atomic.hpp" #include "runtime/atomic.hpp"
#include "runtime/mutexLocker.hpp" #include "runtime/mutexLocker.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"
#include "runtime/safepoint.hpp" #include "runtime/safepoint.hpp"
#include "runtime/thread.hpp" #include "runtime/thread.hpp"

View File

@ -37,7 +37,6 @@
#include "oops/oop.inline.hpp" #include "oops/oop.inline.hpp"
#include "runtime/atomic.hpp" #include "runtime/atomic.hpp"
#include "runtime/java.hpp" #include "runtime/java.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/prefetch.inline.hpp" #include "runtime/prefetch.inline.hpp"
#include "runtime/safepoint.hpp" #include "runtime/safepoint.hpp"
#include "utilities/align.hpp" #include "utilities/align.hpp"

View File

@ -35,6 +35,7 @@
#include "oops/arrayOop.inline.hpp" #include "oops/arrayOop.inline.hpp"
#include "oops/oop.inline.hpp" #include "oops/oop.inline.hpp"
#include "oops/typeArrayOop.hpp" #include "oops/typeArrayOop.hpp"
#include "runtime/atomic.hpp"
#include "runtime/mutexLocker.hpp" #include "runtime/mutexLocker.hpp"
#include "runtime/safepointVerifiers.hpp" #include "runtime/safepointVerifiers.hpp"

View File

@ -33,7 +33,6 @@
#include "logging/log.hpp" #include "logging/log.hpp"
#include "oops/access.inline.hpp" #include "oops/access.inline.hpp"
#include "oops/oop.inline.hpp" #include "oops/oop.inline.hpp"
#include "runtime/atomic.hpp"
StringDedupThread* StringDedupThread::_thread = NULL; StringDedupThread* StringDedupThread::_thread = NULL;

View File

@ -28,6 +28,7 @@
#include "gc/shenandoah/shenandoahHeap.inline.hpp" #include "gc/shenandoah/shenandoahHeap.inline.hpp"
#include "gc/shenandoah/shenandoahTraversalGC.hpp" #include "gc/shenandoah/shenandoahTraversalGC.hpp"
#include "oops/compressedOops.inline.hpp" #include "oops/compressedOops.inline.hpp"
#include "runtime/atomic.hpp"
#include "runtime/thread.hpp" #include "runtime/thread.hpp"
ShenandoahForwardedIsAliveClosure::ShenandoahForwardedIsAliveClosure() : ShenandoahForwardedIsAliveClosure::ShenandoahForwardedIsAliveClosure() :

View File

@ -29,6 +29,7 @@
#include "gc/shenandoah/shenandoahUtils.hpp" #include "gc/shenandoah/shenandoahUtils.hpp"
#include "memory/resourceArea.hpp" #include "memory/resourceArea.hpp"
#include "memory/universe.hpp" #include "memory/universe.hpp"
#include "runtime/atomic.hpp"
ShenandoahParallelCodeCacheIterator::ShenandoahParallelCodeCacheIterator(const GrowableArray<CodeHeap*>* heaps) { ShenandoahParallelCodeCacheIterator::ShenandoahParallelCodeCacheIterator(const GrowableArray<CodeHeap*>* heaps) {
_length = heaps->length(); _length = heaps->length();

View File

@ -37,6 +37,7 @@
#include "gc/shenandoah/shenandoahWorkerPolicy.hpp" #include "gc/shenandoah/shenandoahWorkerPolicy.hpp"
#include "memory/iterator.hpp" #include "memory/iterator.hpp"
#include "memory/universe.hpp" #include "memory/universe.hpp"
#include "runtime/atomic.hpp"
ShenandoahControlThread::ShenandoahControlThread() : ShenandoahControlThread::ShenandoahControlThread() :
ConcurrentGCThread(), ConcurrentGCThread(),

View File

@ -27,7 +27,7 @@
#include "gc/shenandoah/shenandoahUtils.hpp" #include "gc/shenandoah/shenandoahUtils.hpp"
#include "gc/shenandoah/shenandoahEvacOOMHandler.hpp" #include "gc/shenandoah/shenandoahEvacOOMHandler.hpp"
#include "gc/shenandoah/shenandoahThreadLocalData.hpp" #include "gc/shenandoah/shenandoahThreadLocalData.hpp"
#include "runtime/orderAccess.hpp" #include "runtime/atomic.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"
#include "runtime/thread.hpp" #include "runtime/thread.hpp"

View File

@ -29,6 +29,7 @@
#include "gc/shenandoah/shenandoahMarkingContext.inline.hpp" #include "gc/shenandoah/shenandoahMarkingContext.inline.hpp"
#include "gc/shenandoah/shenandoahTraversalGC.hpp" #include "gc/shenandoah/shenandoahTraversalGC.hpp"
#include "logging/logStream.hpp" #include "logging/logStream.hpp"
#include "runtime/orderAccess.hpp"
ShenandoahFreeSet::ShenandoahFreeSet(ShenandoahHeap* heap, size_t max_regions) : ShenandoahFreeSet::ShenandoahFreeSet(ShenandoahHeap* heap, size_t max_regions) :
_heap(heap), _heap(heap),

View File

@ -71,8 +71,10 @@
#include "memory/metaspace.hpp" #include "memory/metaspace.hpp"
#include "oops/compressedOops.inline.hpp" #include "oops/compressedOops.inline.hpp"
#include "runtime/atomic.hpp"
#include "runtime/globals.hpp" #include "runtime/globals.hpp"
#include "runtime/interfaceSupport.inline.hpp" #include "runtime/interfaceSupport.inline.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/safepointMechanism.hpp" #include "runtime/safepointMechanism.hpp"
#include "runtime/vmThread.hpp" #include "runtime/vmThread.hpp"
#include "services/mallocTracker.hpp" #include "services/mallocTracker.hpp"

View File

@ -34,6 +34,7 @@
#include "memory/resourceArea.hpp" #include "memory/resourceArea.hpp"
#include "memory/universe.hpp" #include "memory/universe.hpp"
#include "oops/oop.inline.hpp" #include "oops/oop.inline.hpp"
#include "runtime/atomic.hpp"
#include "runtime/java.hpp" #include "runtime/java.hpp"
#include "runtime/mutexLocker.hpp" #include "runtime/mutexLocker.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"

View File

@ -27,6 +27,7 @@
#include "gc/shenandoah/shenandoahHeapRegionSet.hpp" #include "gc/shenandoah/shenandoahHeapRegionSet.hpp"
#include "gc/shenandoah/shenandoahHeapRegionCounters.hpp" #include "gc/shenandoah/shenandoahHeapRegionCounters.hpp"
#include "memory/resourceArea.hpp" #include "memory/resourceArea.hpp"
#include "runtime/atomic.hpp"
#include "runtime/perfData.inline.hpp" #include "runtime/perfData.inline.hpp"
ShenandoahHeapRegionCounters::ShenandoahHeapRegionCounters() : ShenandoahHeapRegionCounters::ShenandoahHeapRegionCounters() :

View File

@ -48,6 +48,7 @@
#include "oops/compressedOops.inline.hpp" #include "oops/compressedOops.inline.hpp"
#include "oops/oop.inline.hpp" #include "oops/oop.inline.hpp"
#include "runtime/biasedLocking.hpp" #include "runtime/biasedLocking.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/thread.hpp" #include "runtime/thread.hpp"
#include "utilities/copy.hpp" #include "utilities/copy.hpp"
#include "utilities/growableArray.hpp" #include "utilities/growableArray.hpp"

View File

@ -26,6 +26,7 @@
#include "gc/shenandoah/shenandoahFreeSet.hpp" #include "gc/shenandoah/shenandoahFreeSet.hpp"
#include "gc/shenandoah/shenandoahHeap.inline.hpp" #include "gc/shenandoah/shenandoahHeap.inline.hpp"
#include "gc/shenandoah/shenandoahPacer.hpp" #include "gc/shenandoah/shenandoahPacer.hpp"
#include "runtime/atomic.hpp"
/* /*
* In normal concurrent cycle, we have to pace the application to let GC finish. * In normal concurrent cycle, we have to pace the application to let GC finish.

View File

@ -25,7 +25,7 @@
#define SHARE_GC_SHENANDOAH_SHENANDOAHSHAREDVARIABLES_HPP #define SHARE_GC_SHENANDOAH_SHENANDOAHSHAREDVARIABLES_HPP
#include "memory/allocation.hpp" #include "memory/allocation.hpp"
#include "runtime/orderAccess.hpp" #include "runtime/atomic.hpp"
typedef jbyte ShenandoahSharedValue; typedef jbyte ShenandoahSharedValue;

View File

@ -26,6 +26,7 @@
#include "gc/shared/owstTaskTerminator.hpp" #include "gc/shared/owstTaskTerminator.hpp"
#include "gc/shared/taskqueue.hpp" #include "gc/shared/taskqueue.hpp"
#include "memory/allocation.hpp" #include "memory/allocation.hpp"
#include "runtime/atomic.hpp"
#include "runtime/mutex.hpp" #include "runtime/mutex.hpp"
#include "runtime/thread.hpp" #include "runtime/thread.hpp"

View File

@ -35,6 +35,7 @@
#include "memory/iterator.inline.hpp" #include "memory/iterator.inline.hpp"
#include "memory/resourceArea.hpp" #include "memory/resourceArea.hpp"
#include "oops/compressedOops.inline.hpp" #include "oops/compressedOops.inline.hpp"
#include "runtime/atomic.hpp"
#include "utilities/align.hpp" #include "utilities/align.hpp"
// Avoid name collision on verify_oop (defined in macroAssembler_arm.hpp) // Avoid name collision on verify_oop (defined in macroAssembler_arm.hpp)

View File

@ -28,7 +28,6 @@
#include "gc/z/zThread.inline.hpp" #include "gc/z/zThread.inline.hpp"
#include "logging/log.hpp" #include "logging/log.hpp"
#include "runtime/atomic.hpp" #include "runtime/atomic.hpp"
#include "runtime/orderAccess.hpp"
#include "utilities/debug.hpp" #include "utilities/debug.hpp"
static const ZStatCounter ZCounterMarkSeqNumResetContention("Contention", "Mark SeqNum Reset Contention", ZStatUnitOpsPerSecond); static const ZStatCounter ZCounterMarkSeqNumResetContention("Contention", "Mark SeqNum Reset Contention", ZStatUnitOpsPerSecond);

View File

@ -44,7 +44,6 @@
#include "oops/oop.inline.hpp" #include "oops/oop.inline.hpp"
#include "runtime/atomic.hpp" #include "runtime/atomic.hpp"
#include "runtime/handshake.hpp" #include "runtime/handshake.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/prefetch.inline.hpp" #include "runtime/prefetch.inline.hpp"
#include "runtime/thread.hpp" #include "runtime/thread.hpp"
#include "utilities/align.hpp" #include "utilities/align.hpp"

View File

@ -25,7 +25,6 @@
#define SHARE_GC_Z_ZMARKTERMINATE_INLINE_HPP #define SHARE_GC_Z_ZMARKTERMINATE_INLINE_HPP
#include "runtime/atomic.hpp" #include "runtime/atomic.hpp"
#include "runtime/orderAccess.hpp"
inline ZMarkTerminate::ZMarkTerminate() : inline ZMarkTerminate::ZMarkTerminate() :
_nworkers(0), _nworkers(0),

View File

@ -41,7 +41,6 @@
#include "memory/resourceArea.hpp" #include "memory/resourceArea.hpp"
#include "memory/universe.hpp" #include "memory/universe.hpp"
#include "runtime/atomic.hpp" #include "runtime/atomic.hpp"
#include "runtime/orderAccess.hpp"
#include "utilities/debug.hpp" #include "utilities/debug.hpp"
static ZNMethodData* gc_data(const nmethod* nm) { static ZNMethodData* gc_data(const nmethod* nm) {

View File

@ -27,7 +27,6 @@
#include "gc/z/zNMethodData.hpp" #include "gc/z/zNMethodData.hpp"
#include "memory/allocation.hpp" #include "memory/allocation.hpp"
#include "runtime/atomic.hpp" #include "runtime/atomic.hpp"
#include "runtime/orderAccess.hpp"
#include "utilities/align.hpp" #include "utilities/align.hpp"
#include "utilities/debug.hpp" #include "utilities/debug.hpp"
#include "utilities/growableArray.hpp" #include "utilities/growableArray.hpp"

View File

@ -43,7 +43,6 @@
#include "memory/iterator.hpp" #include "memory/iterator.hpp"
#include "memory/resourceArea.hpp" #include "memory/resourceArea.hpp"
#include "runtime/atomic.hpp" #include "runtime/atomic.hpp"
#include "runtime/orderAccess.hpp"
#include "utilities/debug.hpp" #include "utilities/debug.hpp"
ZNMethodTableEntry* ZNMethodTable::_table = NULL; ZNMethodTableEntry* ZNMethodTable::_table = NULL;

View File

@ -34,6 +34,7 @@
#include "gc/z/zUtils.inline.hpp" #include "gc/z/zUtils.inline.hpp"
#include "gc/z/zValue.inline.hpp" #include "gc/z/zValue.inline.hpp"
#include "memory/universe.hpp" #include "memory/universe.hpp"
#include "runtime/atomic.hpp"
#include "runtime/mutexLocker.hpp" #include "runtime/mutexLocker.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"

View File

@ -29,6 +29,7 @@
#include "memory/allocation.inline.hpp" #include "memory/allocation.inline.hpp"
#include "memory/resourceArea.hpp" #include "memory/resourceArea.hpp"
#include "oops/oop.inline.hpp" #include "oops/oop.inline.hpp"
#include "runtime/atomic.hpp"
#include "runtime/handles.inline.hpp" #include "runtime/handles.inline.hpp"
#include "runtime/signature.hpp" #include "runtime/signature.hpp"

View File

@ -46,7 +46,6 @@
#include "jfr/utilities/jfrTypes.hpp" #include "jfr/utilities/jfrTypes.hpp"
#include "logging/log.hpp" #include "logging/log.hpp"
#include "memory/resourceArea.hpp" #include "memory/resourceArea.hpp"
#include "runtime/atomic.hpp"
#include "runtime/handles.inline.hpp" #include "runtime/handles.inline.hpp"
#include "runtime/mutexLocker.hpp" #include "runtime/mutexLocker.hpp"
#include "runtime/orderAccess.hpp" #include "runtime/orderAccess.hpp"

View File

@ -39,7 +39,6 @@
#include "jfr/writers/jfrNativeEventWriter.hpp" #include "jfr/writers/jfrNativeEventWriter.hpp"
#include "logging/log.hpp" #include "logging/log.hpp"
#include "runtime/mutexLocker.hpp" #include "runtime/mutexLocker.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/os.inline.hpp" #include "runtime/os.inline.hpp"
#include "runtime/safepoint.hpp" #include "runtime/safepoint.hpp"
#include "runtime/thread.hpp" #include "runtime/thread.hpp"

View File

@ -33,8 +33,8 @@
#include "jfr/recorder/stringpool/jfrStringPoolWriter.hpp" #include "jfr/recorder/stringpool/jfrStringPoolWriter.hpp"
#include "jfr/utilities/jfrTypes.hpp" #include "jfr/utilities/jfrTypes.hpp"
#include "logging/log.hpp" #include "logging/log.hpp"
#include "runtime/atomic.hpp"
#include "runtime/mutexLocker.hpp" #include "runtime/mutexLocker.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/safepoint.hpp" #include "runtime/safepoint.hpp"
#include "runtime/thread.inline.hpp" #include "runtime/thread.inline.hpp"

View File

@ -26,7 +26,7 @@
#define SHARE_JFR_UTILITIES_JFRHASHTABLE_HPP #define SHARE_JFR_UTILITIES_JFRHASHTABLE_HPP
#include "jfr/utilities/jfrAllocation.hpp" #include "jfr/utilities/jfrAllocation.hpp"
#include "runtime/orderAccess.hpp" #include "runtime/atomic.hpp"
#include "utilities/debug.hpp" #include "utilities/debug.hpp"
#include "utilities/macros.hpp" #include "utilities/macros.hpp"

View File

@ -25,6 +25,7 @@
#define SHARE_JVMCI_JVMCICOMPILER_HPP #define SHARE_JVMCI_JVMCICOMPILER_HPP
#include "compiler/abstractCompiler.hpp" #include "compiler/abstractCompiler.hpp"
#include "runtime/atomic.hpp"
class JVMCICompiler : public AbstractCompiler { class JVMCICompiler : public AbstractCompiler {
private: private:

View File

@ -42,6 +42,7 @@
#include "oops/method.inline.hpp" #include "oops/method.inline.hpp"
#include "oops/typeArrayOop.inline.hpp" #include "oops/typeArrayOop.inline.hpp"
#include "prims/nativeLookup.hpp" #include "prims/nativeLookup.hpp"
#include "runtime/atomic.hpp"
#include "runtime/deoptimization.hpp" #include "runtime/deoptimization.hpp"
#include "runtime/fieldDescriptor.inline.hpp" #include "runtime/fieldDescriptor.inline.hpp"
#include "runtime/frame.inline.hpp" #include "runtime/frame.inline.hpp"

View File

@ -34,6 +34,7 @@
#include "oops/method.inline.hpp" #include "oops/method.inline.hpp"
#include "oops/objArrayKlass.hpp" #include "oops/objArrayKlass.hpp"
#include "oops/oop.inline.hpp" #include "oops/oop.inline.hpp"
#include "runtime/atomic.hpp"
#include "runtime/biasedLocking.hpp" #include "runtime/biasedLocking.hpp"
#include "runtime/deoptimization.hpp" #include "runtime/deoptimization.hpp"
#include "runtime/fieldDescriptor.inline.hpp" #include "runtime/fieldDescriptor.inline.hpp"

View File

@ -23,6 +23,7 @@
#include "precompiled.hpp" #include "precompiled.hpp"
#include "jvmci/metadataHandleBlock.hpp" #include "jvmci/metadataHandleBlock.hpp"
#include "runtime/atomic.hpp"
MetadataHandleBlock* MetadataHandleBlock::_last = NULL; MetadataHandleBlock* MetadataHandleBlock::_last = NULL;
intptr_t MetadataHandleBlock::_free_list = 0; intptr_t MetadataHandleBlock::_free_list = 0;

View File

@ -26,7 +26,6 @@
#include "logging/logConfiguration.hpp" #include "logging/logConfiguration.hpp"
#include "logging/logDecorations.hpp" #include "logging/logDecorations.hpp"
#include "runtime/atomic.hpp" #include "runtime/atomic.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/os.inline.hpp" #include "runtime/os.inline.hpp"
#include "runtime/thread.inline.hpp" #include "runtime/thread.inline.hpp"
#include "services/management.hpp" #include "services/management.hpp"

View File

@ -28,7 +28,6 @@
#include "memory/arena.hpp" #include "memory/arena.hpp"
#include "memory/metaspaceShared.hpp" #include "memory/metaspaceShared.hpp"
#include "memory/resourceArea.hpp" #include "memory/resourceArea.hpp"
#include "runtime/atomic.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"
#include "runtime/task.hpp" #include "runtime/task.hpp"
#include "runtime/threadCritical.hpp" #include "runtime/threadCritical.hpp"

View File

@ -27,7 +27,6 @@
#include "memory/allocation.inline.hpp" #include "memory/allocation.inline.hpp"
#include "memory/metaspaceShared.hpp" #include "memory/metaspaceShared.hpp"
#include "memory/resourceArea.hpp" #include "memory/resourceArea.hpp"
#include "runtime/atomic.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"
#include "runtime/task.hpp" #include "runtime/task.hpp"
#include "runtime/threadCritical.hpp" #include "runtime/threadCritical.hpp"

View File

@ -40,8 +40,8 @@
#include "memory/metaspaceTracer.hpp" #include "memory/metaspaceTracer.hpp"
#include "memory/universe.hpp" #include "memory/universe.hpp"
#include "oops/compressedOops.hpp" #include "oops/compressedOops.hpp"
#include "runtime/atomic.hpp"
#include "runtime/init.hpp" #include "runtime/init.hpp"
#include "runtime/orderAccess.hpp"
#include "services/memTracker.hpp" #include "services/memTracker.hpp"
#include "utilities/copy.hpp" #include "utilities/copy.hpp"
#include "utilities/debug.hpp" #include "utilities/debug.hpp"

View File

@ -32,6 +32,7 @@
#include "memory/metaspace/metaspaceCommon.hpp" #include "memory/metaspace/metaspaceCommon.hpp"
#include "memory/metaspace/virtualSpaceList.hpp" #include "memory/metaspace/virtualSpaceList.hpp"
#include "memory/metaspace/virtualSpaceNode.hpp" #include "memory/metaspace/virtualSpaceNode.hpp"
#include "runtime/atomic.hpp"
#include "runtime/orderAccess.hpp" #include "runtime/orderAccess.hpp"
#include "runtime/mutexLocker.hpp" #include "runtime/mutexLocker.hpp"
#include "runtime/safepoint.hpp" #include "runtime/safepoint.hpp"
@ -444,4 +445,3 @@ void VirtualSpaceList::verify(bool slow) {
#endif // ASSERT #endif // ASSERT
} // namespace metaspace } // namespace metaspace

View File

@ -29,6 +29,8 @@
#include "oops/accessBackend.hpp" #include "oops/accessBackend.hpp"
#include "oops/compressedOops.inline.hpp" #include "oops/compressedOops.inline.hpp"
#include "oops/oopsHierarchy.hpp" #include "oops/oopsHierarchy.hpp"
#include "runtime/atomic.hpp"
#include "runtime/orderAccess.hpp"
template <DecoratorSet decorators> template <DecoratorSet decorators>
template <DecoratorSet idecorators, typename T> template <DecoratorSet idecorators, typename T>

View File

@ -25,7 +25,7 @@
#ifndef SHARE_OOPS_ARRAYKLASS_INLINE_HPP #ifndef SHARE_OOPS_ARRAYKLASS_INLINE_HPP
#define SHARE_OOPS_ARRAYKLASS_INLINE_HPP #define SHARE_OOPS_ARRAYKLASS_INLINE_HPP
#include "runtime/orderAccess.hpp" #include "runtime/atomic.hpp"
#include "oops/arrayKlass.hpp" #include "oops/arrayKlass.hpp"
inline Klass* ArrayKlass::higher_dimension_acquire() const { inline Klass* ArrayKlass::higher_dimension_acquire() const {

View File

@ -27,7 +27,7 @@
#include "oops/constantPool.hpp" #include "oops/constantPool.hpp"
#include "oops/cpCache.inline.hpp" #include "oops/cpCache.inline.hpp"
#include "runtime/orderAccess.hpp" #include "runtime/atomic.hpp"
inline CPSlot ConstantPool::slot_at(int which) const { inline CPSlot ConstantPool::slot_at(int which) const {
assert(is_within_bounds(which), "index out of bounds"); assert(is_within_bounds(which), "index out of bounds");

View File

@ -44,7 +44,6 @@
#include "prims/methodHandles.hpp" #include "prims/methodHandles.hpp"
#include "runtime/atomic.hpp" #include "runtime/atomic.hpp"
#include "runtime/handles.inline.hpp" #include "runtime/handles.inline.hpp"
#include "runtime/orderAccess.hpp"
#include "utilities/macros.hpp" #include "utilities/macros.hpp"
// Implementation of ConstantPoolCacheEntry // Implementation of ConstantPoolCacheEntry

View File

@ -27,7 +27,7 @@
#include "oops/cpCache.hpp" #include "oops/cpCache.hpp"
#include "oops/oopHandle.inline.hpp" #include "oops/oopHandle.inline.hpp"
#include "runtime/orderAccess.hpp" #include "runtime/atomic.hpp"
inline int ConstantPoolCacheEntry::indices_ord() const { return Atomic::load_acquire(&_indices); } inline int ConstantPoolCacheEntry::indices_ord() const { return Atomic::load_acquire(&_indices); }

View File

@ -29,7 +29,7 @@
#include "oops/instanceKlass.hpp" #include "oops/instanceKlass.hpp"
#include "oops/klass.hpp" #include "oops/klass.hpp"
#include "oops/oop.inline.hpp" #include "oops/oop.inline.hpp"
#include "runtime/orderAccess.hpp" #include "runtime/atomic.hpp"
#include "utilities/debug.hpp" #include "utilities/debug.hpp"
#include "utilities/globalDefinitions.hpp" #include "utilities/globalDefinitions.hpp"
#include "utilities/macros.hpp" #include "utilities/macros.hpp"

View File

@ -47,7 +47,6 @@
#include "oops/oopHandle.inline.hpp" #include "oops/oopHandle.inline.hpp"
#include "runtime/atomic.hpp" #include "runtime/atomic.hpp"
#include "runtime/handles.inline.hpp" #include "runtime/handles.inline.hpp"
#include "runtime/orderAccess.hpp"
#include "utilities/macros.hpp" #include "utilities/macros.hpp"
#include "utilities/stack.inline.hpp" #include "utilities/stack.inline.hpp"

View File

@ -58,6 +58,7 @@
#include "prims/methodHandles.hpp" #include "prims/methodHandles.hpp"
#include "prims/nativeLookup.hpp" #include "prims/nativeLookup.hpp"
#include "runtime/arguments.hpp" #include "runtime/arguments.hpp"
#include "runtime/atomic.hpp"
#include "runtime/frame.inline.hpp" #include "runtime/frame.inline.hpp"
#include "runtime/handles.inline.hpp" #include "runtime/handles.inline.hpp"
#include "runtime/init.hpp" #include "runtime/init.hpp"

View File

@ -26,7 +26,7 @@
#define SHARE_OOPS_METHOD_INLINE_HPP #define SHARE_OOPS_METHOD_INLINE_HPP
#include "oops/method.hpp" #include "oops/method.hpp"
#include "runtime/orderAccess.hpp" #include "runtime/atomic.hpp"
inline address Method::from_compiled_entry() const { inline address Method::from_compiled_entry() const {
return Atomic::load_acquire(&_from_compiled_entry); return Atomic::load_acquire(&_from_compiled_entry);

View File

@ -26,7 +26,7 @@
#define SHARE_OOPS_METHODDATA_INLINE_HPP #define SHARE_OOPS_METHODDATA_INLINE_HPP
#include "oops/methodData.hpp" #include "oops/methodData.hpp"
#include "runtime/orderAccess.hpp" #include "runtime/atomic.hpp"
inline void DataLayout::release_set_cell_at(int index, intptr_t value) { inline void DataLayout::release_set_cell_at(int index, intptr_t value) {
Atomic::release_store(&_cells[index], value); Atomic::release_store(&_cells[index], value);

View File

@ -35,7 +35,6 @@
#include "oops/markWord.inline.hpp" #include "oops/markWord.inline.hpp"
#include "oops/oop.hpp" #include "oops/oop.hpp"
#include "runtime/atomic.hpp" #include "runtime/atomic.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/os.hpp" #include "runtime/os.hpp"
#include "utilities/align.hpp" #include "utilities/align.hpp"
#include "utilities/macros.hpp" #include "utilities/macros.hpp"

View File

@ -72,7 +72,6 @@
#include "runtime/javaCalls.hpp" #include "runtime/javaCalls.hpp"
#include "runtime/jfieldIDWorkaround.hpp" #include "runtime/jfieldIDWorkaround.hpp"
#include "runtime/jniHandles.inline.hpp" #include "runtime/jniHandles.inline.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/reflection.hpp" #include "runtime/reflection.hpp"
#include "runtime/safepointVerifiers.hpp" #include "runtime/safepointVerifiers.hpp"
#include "runtime/sharedRuntime.hpp" #include "runtime/sharedRuntime.hpp"

View File

@ -70,7 +70,6 @@
#include "runtime/javaCalls.hpp" #include "runtime/javaCalls.hpp"
#include "runtime/jfieldIDWorkaround.hpp" #include "runtime/jfieldIDWorkaround.hpp"
#include "runtime/jniHandles.inline.hpp" #include "runtime/jniHandles.inline.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/os.inline.hpp" #include "runtime/os.inline.hpp"
#include "runtime/perfData.hpp" #include "runtime/perfData.hpp"
#include "runtime/reflection.hpp" #include "runtime/reflection.hpp"

View File

@ -30,9 +30,9 @@
#include "prims/jvmtiEventController.hpp" #include "prims/jvmtiEventController.hpp"
#include "prims/jvmtiThreadState.hpp" #include "prims/jvmtiThreadState.hpp"
#include "oops/oopHandle.hpp" #include "oops/oopHandle.hpp"
#include "runtime/atomic.hpp"
#include "runtime/fieldDescriptor.hpp" #include "runtime/fieldDescriptor.hpp"
#include "runtime/frame.hpp" #include "runtime/frame.hpp"
#include "runtime/orderAccess.hpp"
#include "runtime/thread.hpp" #include "runtime/thread.hpp"
#include "runtime/vmOperations.hpp" #include "runtime/vmOperations.hpp"
#include "utilities/growableArray.hpp" #include "utilities/growableArray.hpp"

View File

@ -38,7 +38,6 @@
#include "prims/jvmtiEventController.inline.hpp" #include "prims/jvmtiEventController.inline.hpp"
#include "prims/jvmtiImpl.hpp" #include "prims/jvmtiImpl.hpp"
#include "prims/jvmtiRedefineClasses.hpp" #include "prims/jvmtiRedefineClasses.hpp"
#include "runtime/atomic.hpp"
#include "runtime/deoptimization.hpp" #include "runtime/deoptimization.hpp"
#include "runtime/frame.inline.hpp" #include "runtime/frame.inline.hpp"
#include "runtime/handles.inline.hpp" #include "runtime/handles.inline.hpp"

Some files were not shown because too many files have changed in this diff Show More