comparison src/share/vm/graal/graalCompilerToGPU.cpp @ 11381:001c41b01d13

HotSpotInstalledCode: moved getCode to Java and added the ability to get the whole blob
author twisti
date Tue, 20 Aug 2013 12:48:28 -0700
parents 4a6b03a16808
children 49bb1bc983c6
comparison
equal deleted inserted replaced
11380:d9bcf8789d57 11381:001c41b01d13
86 JavaArgumentUnboxer jap(signature, &jca, (arrayOop) JNIHandles::resolve(args), mh->is_static()); 86 JavaArgumentUnboxer jap(signature, &jca, (arrayOop) JNIHandles::resolve(args), mh->is_static());
87 JavaValue result(jap.get_ret_type()); 87 JavaValue result(jap.get_ret_type());
88 jca.set_alternative_target(nm); 88 jca.set_alternative_target(nm);
89 89
90 // start value is the kernel 90 // start value is the kernel
91 jlong startValue = HotSpotInstalledCode::start(hotspotInstalledCode); 91 jlong startValue = HotSpotInstalledCode::codeStart(hotspotInstalledCode);
92 92
93 if (!gpu::execute_kernel((address)startValue, &jca)) { 93 if (!gpu::execute_kernel((address)startValue, &jca)) {
94 return NULL; 94 return NULL;
95 } 95 }
96 96