mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
7085404: JSR 292: VolatileCallSites should have push notification too
Reviewed-by: never, kvn
This commit is contained in:
parent
fcc2a86582
commit
db44acbeb4
7 changed files with 35 additions and 33 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue