8285976: compiler/exceptions/OptimizeImplicitExceptions.java can't pass with -XX:+DeoptimizeALot
Reviewed-by: kvn, thartmann, simonis
This commit is contained in:
parent
df8c2be5fe
commit
c5a0687f80
@ -195,6 +195,11 @@ public class OptimizeImplicitExceptions {
|
||||
return;
|
||||
}
|
||||
|
||||
// The following options are both develop, or nops in product build.
|
||||
// If they are set, disable them for test stability. It's fine because we use /othervm above.
|
||||
WB.setBooleanVMFlag("DeoptimizeALot", false);
|
||||
WB.setBooleanVMFlag("DeoptimizeRandom", false);
|
||||
|
||||
// Initialize global deopt counts to zero.
|
||||
for (ImplicitException impExcp : ImplicitException.values()) {
|
||||
oldDeoptCountReason.put(impExcp.getReason(), 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user