We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db0006f commit 5fd7358Copy full SHA for 5fd7358
substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/util/LayeredImageHeapMap.java
@@ -193,10 +193,12 @@ public void remove() {
193
public boolean advance() {
194
boolean advance = current.advance();
195
if (!advance) {
196
- if (cursors.hasNext()) {
+ while (cursors.hasNext()) {
197
current = cursors.next();
198
- if (keys.add(current.getKey())) {
199
- return true;
+ while (current.advance()) {
+ if (keys.add(current.getKey())) {
200
+ return true;
201
+ }
202
}
203
204
0 commit comments