mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34: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
|
@ -100,11 +100,11 @@ void Parse::do_field_access(bool is_get, bool is_field) {
|
|||
}
|
||||
}
|
||||
|
||||
// Deoptimize on putfield writes to CallSite.target
|
||||
// Deoptimize on putfield writes to call site target field.
|
||||
if (!is_get && field->is_call_site_target()) {
|
||||
uncommon_trap(Deoptimization::Reason_unhandled,
|
||||
Deoptimization::Action_reinterpret,
|
||||
NULL, "put to CallSite.target field");
|
||||
NULL, "put to call site target field");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue