mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
6818666: G1: Type lost in g1 pre-barrier
Reviewed-by: kvn
This commit is contained in:
parent
a9ad90fa87
commit
3bdd70fe18
5 changed files with 36 additions and 21 deletions
|
@ -1565,7 +1565,7 @@ void Parse::do_one_bytecode() {
|
|||
c = pop(); // Oop to store
|
||||
b = pop(); // index (already used)
|
||||
a = pop(); // the array itself
|
||||
const Type* elemtype = _gvn.type(a)->is_aryptr()->elem();
|
||||
const TypeOopPtr* elemtype = _gvn.type(a)->is_aryptr()->elem()->is_oopptr();
|
||||
const TypeAryPtr* adr_type = TypeAryPtr::OOPS;
|
||||
Node* store = store_oop_to_array(control(), a, d, adr_type, c, elemtype, T_OBJECT);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue