8235629: Remove unnecessary calls to Thread::current

Reviewed-by: coleenp, ccheung, hseigel
This commit is contained in:
Ioi Lam 2019-12-11 15:25:38 -08:00
parent dca6e34397
commit cb75b6ee22
9 changed files with 30 additions and 26 deletions

View file

@ -1399,7 +1399,7 @@ bool Method::has_member_arg() const {
methodHandle Method::make_method_handle_intrinsic(vmIntrinsics::ID iid,
Symbol* signature,
TRAPS) {
ResourceMark rm;
ResourceMark rm(THREAD);
methodHandle empty;
InstanceKlass* holder = SystemDictionary::MethodHandle_klass();