mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
8210963: Build failures after "8210829: Modularize allocations in C2"
Reviewed-by: rkennke, thartmann
This commit is contained in:
parent
aa16ed8006
commit
1194d162cb
2 changed files with 4 additions and 3 deletions
|
@ -25,6 +25,7 @@
|
|||
#include "precompiled.hpp"
|
||||
#include "gc/shared/c2/barrierSetC2.hpp"
|
||||
#include "opto/arraycopynode.hpp"
|
||||
#include "opto/convertnode.hpp"
|
||||
#include "opto/graphKit.hpp"
|
||||
#include "opto/idealKit.hpp"
|
||||
#include "opto/macro.hpp"
|
||||
|
|
|
@ -1727,7 +1727,7 @@ Node* PhaseMacroExpand::prefetch_allocation(Node* i_o, Node*& needgc_false,
|
|||
uint step_size = AllocatePrefetchStepSize;
|
||||
uint distance = 0;
|
||||
|
||||
for ( uint i = 0; i < lines; i++ ) {
|
||||
for ( intx i = 0; i < lines; i++ ) {
|
||||
prefetch_adr = new AddPNode( old_pf_wm, new_pf_wmt,
|
||||
_igvn.MakeConX(distance) );
|
||||
transform_later(prefetch_adr);
|
||||
|
@ -1780,7 +1780,7 @@ Node* PhaseMacroExpand::prefetch_allocation(Node* i_o, Node*& needgc_false,
|
|||
contended_phi_rawmem = prefetch;
|
||||
Node *prefetch_adr;
|
||||
distance = step_size;
|
||||
for ( uint i = 1; i < lines; i++ ) {
|
||||
for ( intx i = 1; i < lines; i++ ) {
|
||||
prefetch_adr = new AddPNode( cache_adr, cache_adr,
|
||||
_igvn.MakeConX(distance) );
|
||||
transform_later(prefetch_adr);
|
||||
|
@ -1796,7 +1796,7 @@ Node* PhaseMacroExpand::prefetch_allocation(Node* i_o, Node*& needgc_false,
|
|||
// Generate several prefetch instructions.
|
||||
uint step_size = AllocatePrefetchStepSize;
|
||||
uint distance = AllocatePrefetchDistance;
|
||||
for ( uint i = 0; i < lines; i++ ) {
|
||||
for ( intx i = 0; i < lines; i++ ) {
|
||||
prefetch_adr = new AddPNode( old_eden_top, new_eden_top,
|
||||
_igvn.MakeConX(distance) );
|
||||
transform_later(prefetch_adr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue