Skip to content

Commit 6c9b8ef

Browse files
RVM-1022, start each allocate-collect loop with a clean slate, to allow
each OutOfMemory exception to free up some memory.
1 parent b08f5f5 commit 6c9b8ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MMTk/src/org/mmtk/utility/alloc/Allocator.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ public final Address allocSlowInline(int bytes, int alignment, int offset) {
255255
Space space = current.getSpace();
256256

257257
// Information about the previous collection.
258-
boolean emergencyCollection = Plan.isEmergencyCollection();
258+
boolean emergencyCollection = false;
259259
while (true) {
260260
// Try to allocate using the slow path
261261
Address result = current.allocSlowOnce(bytes, alignment, offset);

0 commit comments

Comments
 (0)