mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8249837: Avoid direct or implicit Thread::current() calls when we already have a current thread variable
Add current thread OR remove unneeded HandleMark Reviewed-by: kvn, dholmes
This commit is contained in:
parent
79f02a67ce
commit
9798a0846b
50 changed files with 108 additions and 143 deletions
|
@ -57,8 +57,8 @@ void JVMCICompiler::bootstrap(TRAPS) {
|
|||
return;
|
||||
}
|
||||
_bootstrapping = true;
|
||||
ResourceMark rm;
|
||||
HandleMark hm;
|
||||
ResourceMark rm(THREAD);
|
||||
HandleMark hm(THREAD);
|
||||
if (PrintBootstrap) {
|
||||
tty->print("Bootstrapping JVMCI");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue