comparison src/share/vm/graal/graalCodeInstaller.cpp @ 4319:3c21eee8ab4d

Add installMethodCallback() to HotSpotRuntime. Re-add tail call node and opcode.
author Andreas Woess <andreas.woess@jku.at>
date Tue, 24 Jan 2012 19:17:28 +0100
parents 382523fc390c
children 597bc897257d
comparison
equal deleted inserted replaced
4315:4c223446c28e 4319:3c21eee8ab4d
273 process_exception_handlers(); 273 process_exception_handlers();
274 } 274 }
275 275
276 int stack_slots = _total_frame_size / HeapWordSize; // conversion to words 276 int stack_slots = _total_frame_size / HeapWordSize; // conversion to words
277 methodHandle method = getMethodFromHotSpotMethod(HotSpotTargetMethod::method(JNIHandles::resolve(target_method_obj))); 277 methodHandle method = getMethodFromHotSpotMethod(HotSpotTargetMethod::method(JNIHandles::resolve(target_method_obj)));
278 { 278
279 nm = GraalEnv::register_method(method, -1, &_offsets, _custom_stack_area_offset, &buffer, stack_slots, _debug_recorder->_oopmaps, &_exception_handler_table, 279 nm = GraalEnv::register_method(method, -1, &_offsets, _custom_stack_area_offset, &buffer, stack_slots, _debug_recorder->_oopmaps, &_exception_handler_table,
280 &_implicit_exception_table, GraalCompiler::instance(), _debug_recorder, _dependencies, NULL, -1, true, false, install_code); 280 &_implicit_exception_table, GraalCompiler::instance(), _debug_recorder, _dependencies, NULL, -1, true, false, install_code);
281 } 281
282 method->clear_queued_for_compilation(); 282 method->clear_queued_for_compilation();
283 } 283 }
284 284
285 // constructor used to create a stub 285 // constructor used to create a stub
286 CodeInstaller::CodeInstaller(Handle& target_method, jlong& id) { 286 CodeInstaller::CodeInstaller(Handle& target_method, jlong& id) {