mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8234086: VM operation can be simplified
Reviewed-by: kbarrett, dholmes, dcubed
This commit is contained in:
parent
6230791e9e
commit
3d7d54b145
14 changed files with 75 additions and 159 deletions
|
@ -532,6 +532,10 @@ bool SafepointSynchronize::is_cleanup_needed() {
|
|||
return false;
|
||||
}
|
||||
|
||||
bool SafepointSynchronize::is_forced_cleanup_needed() {
|
||||
return ObjectSynchronizer::needs_monitor_scavenge();
|
||||
}
|
||||
|
||||
class ParallelSPCleanupThreadClosure : public ThreadClosure {
|
||||
private:
|
||||
CodeBlobClosure* _nmethod_cl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue