mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
6962931: move interned strings out of the perm gen
Reviewed-by: never, coleenp, ysr, jwilhelm
This commit is contained in:
parent
1ed31f9194
commit
fe899cc10d
14 changed files with 58 additions and 41 deletions
|
@ -1573,9 +1573,9 @@ const Type *LoadNode::Value( PhaseTransform *phase ) const {
|
|||
return TypeInt::make(constant.as_int());
|
||||
} else if (constant.basic_type() == T_ARRAY) {
|
||||
if (adr->bottom_type()->is_ptr_to_narrowoop()) {
|
||||
return TypeNarrowOop::make_from_constant(constant.as_object());
|
||||
return TypeNarrowOop::make_from_constant(constant.as_object(), true);
|
||||
} else {
|
||||
return TypeOopPtr::make_from_constant(constant.as_object());
|
||||
return TypeOopPtr::make_from_constant(constant.as_object(), true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue