Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalCompilerToVM.cpp @ 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 | 310a68c63b69 |
children | 46f945023189 |
comparison
equal
deleted
inserted
replaced
7280:f368ec89e231 | 7281:e960cda050d7 |
---|---|
848 HandleMark hm; | 848 HandleMark hm; |
849 | 849 |
850 assert(metaspace_method != 0, "just checking"); | 850 assert(metaspace_method != 0, "just checking"); |
851 methodHandle mh = asMethod(metaspace_method); | 851 methodHandle mh = asMethod(metaspace_method); |
852 Symbol* signature = mh->signature(); | 852 Symbol* signature = mh->signature(); |
853 JavaCallArguments jca; | 853 JavaCallArguments jca(mh->size_of_parameters()); |
854 | 854 |
855 JavaArgumentUnboxer jap(signature, &jca, (arrayOop) JNIHandles::resolve(args), mh->is_static()); | 855 JavaArgumentUnboxer jap(signature, &jca, (arrayOop) JNIHandles::resolve(args), mh->is_static()); |
856 JavaValue result(jap.get_ret_type()); | 856 JavaValue result(jap.get_ret_type()); |
857 | 857 |
858 nmethod* nm = (nmethod*) (address) metaspace_nmethod; | 858 nmethod* nm = (nmethod*) (address) metaspace_nmethod; |