src/share/vm/interpreter/interpreterRuntime.cpp

changeset 3930
9c9fb30d2b3b
parent 3900
d2a62e0f25eb
parent 3928
56c4f88474b3
child 3931
dd785aabe02b
     1.1 --- a/src/share/vm/interpreter/interpreterRuntime.cpp	Fri Jul 13 14:16:21 2012 -0700
     1.2 +++ b/src/share/vm/interpreter/interpreterRuntime.cpp	Mon Jul 16 19:50:52 2012 -0700
     1.3 @@ -547,23 +547,6 @@
     1.4      }
     1.5    }
     1.6  
     1.7 -  if (is_put && !is_static && klass->is_subclass_of(SystemDictionary::CallSite_klass()) && (info.name() == vmSymbols::target_name())) {
     1.8 -    const jint direction = frame::interpreter_frame_expression_stack_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 -
    1.14 -    {
    1.15 -      // Walk all nmethods depending on this call site.
    1.16 -      MutexLocker mu(Compile_lock, thread);
    1.17 -      Universe::flush_dependents_on(call_site, method_handle);
    1.18 -    }
    1.19 -
    1.20 -    // Don't allow fast path for setting CallSite.target and sub-classes.
    1.21 -    put_code = (Bytecodes::Code) 0;
    1.22 -  }
    1.23 -
    1.24    cache_entry(thread)->set_field(
    1.25      get_code,
    1.26      put_code,

mercurial