mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +02:00
8273482: Remove "foreground work" concept from WorkGang
Reviewed-by: tschatzl, kbarrett
This commit is contained in:
parent
2eaf374c5c
commit
c1e39faaa9
6 changed files with 8 additions and 25 deletions
|
@ -86,9 +86,8 @@ ShenandoahClassLoaderDataRoots<CONCURRENT, SINGLE_THREADED>::ShenandoahClassLoad
|
|||
ClassLoaderDataGraph_lock->lock();
|
||||
}
|
||||
|
||||
// Non-concurrent mode only runs at safepoints by VM thread
|
||||
// Non-concurrent mode only runs at safepoints
|
||||
assert(CONCURRENT || SafepointSynchronize::is_at_safepoint(), "Must be at a safepoint");
|
||||
assert(CONCURRENT || Thread::current()->is_VM_thread(), "Can only be done by VM thread");
|
||||
}
|
||||
|
||||
template <bool CONCURRENT, bool SINGLE_THREADED>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue