mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8027422: assert(_gvn.type(obj)->higher_equal(tjp)) failed: cast_up is no longer needed
Type methods shouldn't always operate on speculative part Reviewed-by: kvn, twisti
This commit is contained in:
parent
91573b8695
commit
c19a7e0fa3
18 changed files with 290 additions and 121 deletions
|
@ -337,7 +337,7 @@ bool Parse::push_constant(ciConstant constant, bool require_constant, bool is_au
|
|||
// should_be_constant = (oop not scavengable || ScavengeRootsInCode >= 2)
|
||||
// An oop is not scavengable if it is in the perm gen.
|
||||
if (stable_type != NULL && con_type != NULL && con_type->isa_oopptr())
|
||||
con_type = con_type->join(stable_type);
|
||||
con_type = con_type->join_speculative(stable_type);
|
||||
break;
|
||||
|
||||
case T_ILLEGAL:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue