Fix bug that causes heap to grow without need

This commit is contained in:
Alexey Andreev 2019-12-05 15:07:18 +03:00
parent 8237403161
commit 72fc62f082

View File

@ -212,6 +212,7 @@ public final class GC {
if (size <= ptr.value.size) {
return true;
}
ptr = Structure.add(FreeChunkHolder.class, ptr, 1);
}
return false;
}