< prev index next >
src/share/vm/opto/runtime.cpp
Print this page
*** 117,126 ****
--- 117,128 ----
address OptoRuntime::_zap_dead_native_locals_Java = NULL;
# endif
ExceptionBlob* OptoRuntime::_exception_blob;
+ RuntimeStub* OptoRuntime::_complete_monitor_unlocking_wrapper;
+
// This should be called in an assertion at the start of OptoRuntime routines
// which are entered from compiled code (all of them)
#ifdef ASSERT
static bool check_compiled_frame(JavaThread* thread) {
assert(thread->last_frame().is_runtime_frame(), "cannot call runtime directly from compiled code");
*** 138,147 ****
--- 140,151 ----
bool OptoRuntime::generate(ciEnv* env) {
generate_exception_blob();
+ generate_complete_monitor_unlocking_wrapper();
+
// Note: tls: Means fetching the return oop out of the thread-local storage
//
// variable/name type-function-gen , runtime method ,fncy_jp, tls,save_args,retpc
// -------------------------------------------------------------------------------------------------------------------------------
gen(env, _new_instance_Java , new_instance_Type , new_instance_C , 0 , true , false, false);
< prev index next >