8142329: [JVMCI] pass Handle by value

Reviewed-by: coleenp, twisti
This commit is contained in:
Roland Schatz 2015-11-10 10:34:39 -10:00 committed by Christian Thalinger
parent fa6545ccc1
commit 3d745923ca
10 changed files with 46 additions and 45 deletions

View file

@ -60,7 +60,7 @@
#define C2V_END }
oop CompilerToVM::get_jvmci_method(methodHandle method, TRAPS) {
oop CompilerToVM::get_jvmci_method(const methodHandle& method, TRAPS) {
if (method() != NULL) {
JavaValue result(T_OBJECT);
JavaCallArguments args;