Skip to content

Commit 9c784b3

Browse files
authored
Use ArrayList instead of LinkedList in Spillers (apache#11619)
1 parent 76ed420 commit 9c784b3

File tree

1 file changed

+1
-1
lines changed
  • gluten-core/src/main/java/org/apache/gluten/memory/memtarget

1 file changed

+1
-1
lines changed

gluten-core/src/main/java/org/apache/gluten/memory/memtarget/Spillers.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public long spill(MemoryTarget self, Spiller.Phase phase, long size) {
6262
}
6363

6464
public static class AppendableSpillerList implements Spiller {
65-
private final List<Spiller> spillers = new LinkedList<>();
65+
private final List<Spiller> spillers = new ArrayList<>();
6666

6767
private AppendableSpillerList() {}
6868

0 commit comments

Comments
 (0)