RFR(S): 8229970: ZGC: C2: fixup_uses_in_catch may fail when expanding many uses

Nils Eliasson nils.eliasson at oracle.com
Wed Aug 21 10:00:08 UTC 2019


Hi,

This is a very small patch that fixes an issue when iterating over all 
uses to call fixup_uses_in_catch. The out array may be reallocated which 
might cause the iteration to miss some uses. This patch fix point 
iterates over each use instead.

Bug: https://bugs.openjdk.java.net/browse/JDK-8229970

Webrev: http://cr.openjdk.java.net/~neliasso/8229970/webrev.01/

Please review,

// Nils



More information about the hotspot-compiler-dev mailing list