Mercurial > hg > graal-compiler
changeset 7281:e960cda050d7
fixed bug in executing InstalledCode with more than 8 arguments
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 20 Dec 2012 13:14:56 +0100 |
parents | f368ec89e231 |
children | 390448a6b535 |
files | src/share/vm/graal/graalCompilerToVM.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompilerToVM.cpp Wed Dec 19 15:52:50 2012 +0100 +++ b/src/share/vm/graal/graalCompilerToVM.cpp Thu Dec 20 13:14:56 2012 +0100 @@ -850,7 +850,7 @@ assert(metaspace_method != 0, "just checking"); methodHandle mh = asMethod(metaspace_method); Symbol* signature = mh->signature(); - JavaCallArguments jca; + JavaCallArguments jca(mh->size_of_parameters()); JavaArgumentUnboxer jap(signature, &jca, (arrayOop) JNIHandles::resolve(args), mh->is_static()); JavaValue result(jap.get_ret_type());