mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
7071653: JSR 292: call site change notification should be pushed not pulled
Reviewed-by: kvn, never, bdelsart
This commit is contained in:
parent
ac99f413d7
commit
134c40b4db
27 changed files with 906 additions and 526 deletions
|
@ -100,6 +100,14 @@ void Parse::do_field_access(bool is_get, bool is_field) {
|
|||
}
|
||||
}
|
||||
|
||||
// Deoptimize on putfield writes to CallSite.target
|
||||
if (!is_get && field->is_call_site_target()) {
|
||||
uncommon_trap(Deoptimization::Reason_unhandled,
|
||||
Deoptimization::Action_reinterpret,
|
||||
NULL, "put to CallSite.target field");
|
||||
return;
|
||||
}
|
||||
|
||||
assert(field->will_link(method()->holder(), bc()), "getfield: typeflow responsibility");
|
||||
|
||||
// Note: We do not check for an unloaded field type here any more.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue