7085404: JSR 292: VolatileCallSites should have push notification too

Reviewed-by: never, kvn
This commit is contained in:
Christian Thalinger 2011-09-02 00:36:18 -07:00
parent fcc2a86582
commit db44acbeb4
7 changed files with 35 additions and 33 deletions

View file

@ -175,7 +175,9 @@ public:
bool is_volatile () { return flags().is_volatile(); }
bool is_transient () { return flags().is_transient(); }
bool is_call_site_target() { return ((holder() == CURRENT_ENV->CallSite_klass()) && (name() == ciSymbol::target_name())); }
bool is_call_site_target() {
return (holder()->is_subclass_of(CURRENT_ENV->CallSite_klass()) && (name() == ciSymbol::target_name()));
}
// Debugging output
void print();