mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
8039147: Cleanup SuspendibleThreadSet
Reviewed-by: brutisso, tschatzl, mgerdin
This commit is contained in:
parent
a3425b64f0
commit
f1edf66ef8
15 changed files with 268 additions and 302 deletions
|
@ -75,7 +75,7 @@
|
|||
#endif
|
||||
#if INCLUDE_ALL_GCS
|
||||
#include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.hpp"
|
||||
#include "gc_implementation/shared/concurrentGCThread.hpp"
|
||||
#include "gc_implementation/shared/suspendibleThreadSet.hpp"
|
||||
#endif // INCLUDE_ALL_GCS
|
||||
#ifdef COMPILER1
|
||||
#include "c1/c1_globals.hpp"
|
||||
|
@ -110,7 +110,7 @@ void SafepointSynchronize::begin() {
|
|||
// more-general mechanism below. DLD (01/05).
|
||||
ConcurrentMarkSweepThread::synchronize(false);
|
||||
} else if (UseG1GC) {
|
||||
ConcurrentGCThread::safepoint_synchronize();
|
||||
SuspendibleThreadSet::synchronize();
|
||||
}
|
||||
#endif // INCLUDE_ALL_GCS
|
||||
|
||||
|
@ -486,7 +486,7 @@ void SafepointSynchronize::end() {
|
|||
if (UseConcMarkSweepGC) {
|
||||
ConcurrentMarkSweepThread::desynchronize(false);
|
||||
} else if (UseG1GC) {
|
||||
ConcurrentGCThread::safepoint_desynchronize();
|
||||
SuspendibleThreadSet::desynchronize();
|
||||
}
|
||||
#endif // INCLUDE_ALL_GCS
|
||||
// record this time so VMThread can keep track how much time has elapsed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue