mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-25 22:04:51 +02:00
7087357: JSR 292: remove obsolete code after 7085860
Reviewed-by: kvn, never
This commit is contained in:
parent
27e9d6f36d
commit
19ea8f720f
4 changed files with 13 additions and 61 deletions
|
@ -547,23 +547,6 @@ IRT_ENTRY(void, InterpreterRuntime::resolve_get_put(JavaThread* thread, Bytecode
|
|||
}
|
||||
}
|
||||
|
||||
if (is_put && !is_static && klass->is_subclass_of(SystemDictionary::CallSite_klass()) && (info.name() == vmSymbols::target_name())) {
|
||||
const jint direction = frame::interpreter_frame_expression_stack_direction();
|
||||
Handle call_site (THREAD, *((oop*) thread->last_frame().interpreter_frame_tos_at(-1 * direction)));
|
||||
Handle method_handle(THREAD, *((oop*) thread->last_frame().interpreter_frame_tos_at( 0 * direction)));
|
||||
assert(call_site ->is_a(SystemDictionary::CallSite_klass()), "must be");
|
||||
assert(method_handle->is_a(SystemDictionary::MethodHandle_klass()), "must be");
|
||||
|
||||
{
|
||||
// Walk all nmethods depending on this call site.
|
||||
MutexLocker mu(Compile_lock, thread);
|
||||
Universe::flush_dependents_on(call_site, method_handle);
|
||||
}
|
||||
|
||||
// Don't allow fast path for setting CallSite.target and sub-classes.
|
||||
put_code = (Bytecodes::Code) 0;
|
||||
}
|
||||
|
||||
cache_entry(thread)->set_field(
|
||||
get_code,
|
||||
put_code,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue