mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
C: fix bug in GC
This commit is contained in:
parent
90e00f7eb4
commit
a260067fde
|
@ -322,6 +322,7 @@ public final class GC {
|
|||
Address newRegionStart = heapAddress().add(currentRegionIndex * regionSize());
|
||||
object = newRegionStart.add(currentRegion.start - 1).toStructure();
|
||||
currentRegionEnd = newRegionStart.add(regionSize());
|
||||
continue;
|
||||
}
|
||||
} else {
|
||||
if (lastFreeSpace != null) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user