mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 04:24:49 +02:00
8152590: C2: @Stable support doesn't always work w/ incremental inlining
Reviewed-by: kvn
This commit is contained in:
parent
0c233de7ff
commit
7fc81004e3
20 changed files with 350 additions and 358 deletions
|
@ -1112,7 +1112,7 @@ Node* PhaseStringOpts::fetch_static_field(GraphKit& kit, ciField* field) {
|
|||
if( bt == T_OBJECT ) {
|
||||
if (!field->type()->is_loaded()) {
|
||||
type = TypeInstPtr::BOTTOM;
|
||||
} else if (field->is_constant()) {
|
||||
} else if (field->is_static_constant()) {
|
||||
// This can happen if the constant oop is non-perm.
|
||||
ciObject* con = field->constant_value().as_object();
|
||||
// Do not "join" in the previous type; it doesn't add value,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue