src/share/vm/interpreter/interpreterRuntime.cpp

changeset 3239
12d38ffcba2a
parent 3137
e6b1331a51d2
child 3452
20334ed5ed3c
     1.1 --- a/src/share/vm/interpreter/interpreterRuntime.cpp	Mon Oct 24 07:53:17 2011 -0700
     1.2 +++ b/src/share/vm/interpreter/interpreterRuntime.cpp	Tue Oct 25 00:55:10 2011 -0700
     1.3 @@ -549,8 +549,8 @@
     1.4  
     1.5    if (is_put && !is_static && klass->is_subclass_of(SystemDictionary::CallSite_klass()) && (info.name() == vmSymbols::target_name())) {
     1.6      const jint direction = frame::interpreter_frame_expression_stack_direction();
     1.7 -    oop call_site     = *((oop*) thread->last_frame().interpreter_frame_tos_at(-1 * direction));
     1.8 -    oop method_handle = *((oop*) thread->last_frame().interpreter_frame_tos_at( 0 * direction));
     1.9 +    Handle call_site    (THREAD, *((oop*) thread->last_frame().interpreter_frame_tos_at(-1 * direction)));
    1.10 +    Handle method_handle(THREAD, *((oop*) thread->last_frame().interpreter_frame_tos_at( 0 * direction)));
    1.11      assert(call_site    ->is_a(SystemDictionary::CallSite_klass()),     "must be");
    1.12      assert(method_handle->is_a(SystemDictionary::MethodHandle_klass()), "must be");
    1.13  

mercurial