mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2025-01-08 07:54:11 -08:00
Fix bug that causes heap to grow without need
This commit is contained in:
parent
8237403161
commit
72fc62f082
|
@ -212,6 +212,7 @@ public final class GC {
|
|||
if (size <= ptr.value.size) {
|
||||
return true;
|
||||
}
|
||||
ptr = Structure.add(FreeChunkHolder.class, ptr, 1);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user