Mercurial > hg > graal-jvmci-8
comparison src/share/vm/ci/ciMethodHandle.cpp @ 3388:a80577f854f9
7045513: JSR 292 inlining causes crashes in methodHandleWalk.cpp
Reviewed-by: jrose
author | never |
---|---|
date | Tue, 17 May 2011 19:11:51 -0700 |
parents | fabcf26ee72f |
children | f56542cb325a |
comparison
equal
deleted
inserted
replaced
3385:33ae33516634 | 3388:a80577f854f9 |
---|---|
41 VM_ENTRY_MARK; | 41 VM_ENTRY_MARK; |
42 Handle h(get_oop()); | 42 Handle h(get_oop()); |
43 methodHandle callee(_callee->get_methodOop()); | 43 methodHandle callee(_callee->get_methodOop()); |
44 // We catch all exceptions here that could happen in the method | 44 // We catch all exceptions here that could happen in the method |
45 // handle compiler and stop the VM. | 45 // handle compiler and stop the VM. |
46 MethodHandleCompiler mhc(h, callee, _profile->count(), is_invokedynamic, THREAD); | 46 MethodHandleCompiler mhc(h, callee->name(), callee->signature(), _profile->count(), is_invokedynamic, THREAD); |
47 if (!HAS_PENDING_EXCEPTION) { | 47 if (!HAS_PENDING_EXCEPTION) { |
48 methodHandle m = mhc.compile(THREAD); | 48 methodHandle m = mhc.compile(THREAD); |
49 if (!HAS_PENDING_EXCEPTION) { | 49 if (!HAS_PENDING_EXCEPTION) { |
50 return CURRENT_ENV->get_object(m())->as_method(); | 50 return CURRENT_ENV->get_object(m())->as_method(); |
51 } | 51 } |