mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8228630: Remove always true parameter to NoSafepointVerifier
Also remove NoGCVerifier since NoSafepointVerifier covers GC checking when not already at a safepoint and is a stronger check. Reviewed-by: kbarrett, dholmes
This commit is contained in:
parent
9ad5641ce5
commit
ab9aab646b
11 changed files with 69 additions and 226 deletions
|
@ -1313,7 +1313,7 @@ bool nmethod::make_not_entrant_or_zombie(int state) {
|
|||
nmethodLocker nml(this);
|
||||
methodHandle the_method(method());
|
||||
// This can be called while the system is already at a safepoint which is ok
|
||||
NoSafepointVerifier nsv(true, !SafepointSynchronize::is_at_safepoint());
|
||||
NoSafepointVerifier nsv;
|
||||
|
||||
// during patching, depending on the nmethod state we must notify the GC that
|
||||
// code has been unloaded, unregistering it. We cannot do this right while
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue