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

@ -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;
}