< prev index next >

src/share/vm/runtime/safepoint.cpp

Print this page

        

*** 56,65 **** --- 56,69 ---- #include "utilities/macros.hpp" #ifdef TARGET_ARCH_x86 # include "nativeInst_x86.hpp" # include "vmreg_x86.inline.hpp" #endif + #ifdef TARGET_ARCH_aarch64 + # include "nativeInst_aarch64.hpp" + # include "vmreg_aarch64.inline.hpp" + #endif #ifdef TARGET_ARCH_sparc # include "nativeInst_sparc.hpp" # include "vmreg_sparc.inline.hpp" #endif #ifdef TARGET_ARCH_zero
*** 177,187 **** #if INCLUDE_ALL_GCS if (UseConcMarkSweepGC) { // In the future we should investigate whether CMS can use the // more-general mechanism below. DLD (01/05). ConcurrentMarkSweepThread::synchronize(false); ! } else if (UseG1GC) { SuspendibleThreadSet::synchronize(); } #endif // INCLUDE_ALL_GCS // By getting the Threads_lock, we assure that no threads are about to start or --- 181,191 ---- #if INCLUDE_ALL_GCS if (UseConcMarkSweepGC) { // In the future we should investigate whether CMS can use the // more-general mechanism below. DLD (01/05). ConcurrentMarkSweepThread::synchronize(false); ! } else if (UseG1GC || (UseShenandoahGC && UseStringDeduplication)) { SuspendibleThreadSet::synchronize(); } #endif // INCLUDE_ALL_GCS // By getting the Threads_lock, we assure that no threads are about to start or
*** 583,593 **** } #if INCLUDE_ALL_GCS // If there are any concurrent GC threads resume them. if (UseConcMarkSweepGC) { ConcurrentMarkSweepThread::desynchronize(false); ! } else if (UseG1GC) { SuspendibleThreadSet::desynchronize(); } #endif // INCLUDE_ALL_GCS // record this time so VMThread can keep track how much time has elasped // since last safepoint. --- 587,597 ---- } #if INCLUDE_ALL_GCS // If there are any concurrent GC threads resume them. if (UseConcMarkSweepGC) { ConcurrentMarkSweepThread::desynchronize(false); ! } else if (UseG1GC || (UseShenandoahGC && UseStringDeduplication)) { SuspendibleThreadSet::desynchronize(); } #endif // INCLUDE_ALL_GCS // record this time so VMThread can keep track how much time has elasped // since last safepoint.
< prev index next >