< prev index next >
src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/util/GraphUtil.java
Print this page
@@ -1037,11 +1037,11 @@
if (fromInt < 0 || newLengthInt < 0 || fromInt > sourceLengthInt) {
/* Illegal values for either from index, the new length or the source length. */
return;
}
- if (newLengthInt >= tool.getMaximumEntryCount()) {
+ if (newLengthInt > tool.getMaximumEntryCount()) {
/* The new array size is higher than maximum allowed size of virtualized objects. */
return;
}
ValueNode[] newEntryState = new ValueNode[newLengthInt];
< prev index next >