Mercurial > hg > graal-jvmci-8
comparison src/share/vm/interpreter/interpreterRuntime.cpp @ 3901:aa67216400d3
7085404: JSR 292: VolatileCallSites should have push notification too
Reviewed-by: never, kvn
author | twisti |
---|---|
date | Fri, 02 Sep 2011 00:36:18 -0700 |
parents | fdb992d83a87 |
children | 5596e125fe4f |
comparison
equal
deleted
inserted
replaced
3900:a32de5085326 | 3901:aa67216400d3 |
---|---|
553 oop method_handle = *((oop*) thread->last_frame().interpreter_frame_tos_at( 0 * direction)); | 553 oop method_handle = *((oop*) thread->last_frame().interpreter_frame_tos_at( 0 * direction)); |
554 assert(call_site ->is_a(SystemDictionary::CallSite_klass()), "must be"); | 554 assert(call_site ->is_a(SystemDictionary::CallSite_klass()), "must be"); |
555 assert(method_handle->is_a(SystemDictionary::MethodHandle_klass()), "must be"); | 555 assert(method_handle->is_a(SystemDictionary::MethodHandle_klass()), "must be"); |
556 | 556 |
557 { | 557 { |
558 // Walk all nmethods depending on CallSite | 558 // Walk all nmethods depending on this call site. |
559 MutexLocker mu(Compile_lock, thread); | 559 MutexLocker mu(Compile_lock, thread); |
560 Universe::flush_dependents_on(call_site, method_handle); | 560 Universe::flush_dependents_on(call_site, method_handle); |
561 } | 561 } |
562 | 562 |
563 // Don't allow fast path for setting CallSite.target and sub-classes. | 563 // Don't allow fast path for setting CallSite.target and sub-classes. |