comparison src/share/vm/ci/ciCallSite.cpp @ 3852:fdb992d83a87

7071653: JSR 292: call site change notification should be pushed not pulled Reviewed-by: kvn, never, bdelsart
author twisti
date Tue, 16 Aug 2011 04:14:05 -0700
parents 8033953d67ff
children
comparison
equal deleted inserted replaced
3851:95134e034042 3852:fdb992d83a87
26 #include "ci/ciCallSite.hpp" 26 #include "ci/ciCallSite.hpp"
27 #include "ci/ciUtilities.hpp" 27 #include "ci/ciUtilities.hpp"
28 28
29 // ciCallSite 29 // ciCallSite
30 30
31 bool ciCallSite::is_constant_call_site() {
32 return klass()->is_subclass_of(CURRENT_ENV->ConstantCallSite_klass());
33 }
34 bool ciCallSite::is_mutable_call_site() {
35 return klass()->is_subclass_of(CURRENT_ENV->MutableCallSite_klass());
36 }
37 bool ciCallSite::is_volatile_call_site() {
38 return klass()->is_subclass_of(CURRENT_ENV->VolatileCallSite_klass());
39 }
40
31 // ------------------------------------------------------------------ 41 // ------------------------------------------------------------------
32 // ciCallSite::get_target 42 // ciCallSite::get_target
33 // 43 //
34 // Return the target MethodHandle of this CallSite. 44 // Return the target MethodHandle of this CallSite.
35 ciMethodHandle* ciCallSite::get_target() const { 45 ciMethodHandle* ciCallSite::get_target() const {