Commit 3a5751dc authored by Rodrigo Bruno's avatar Rodrigo Bruno Committed by Commit Bot

[test-heap] fixed test that was not allowing gc to collect an object

Bug: chromium:845409
Change-Id: I865826c0e8927aea264a4f9177380ec3bb8aee4f
Reviewed-on: https://chromium-review.googlesource.com/1170764Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
Commit-Queue: Rodrigo Bruno <rfbpb@google.com>
Cr-Commit-Position: refs/heads/master@{#55046}
parent d077c1fa
......@@ -10,4 +10,5 @@ assertEquals(0xc0000000, buffer.byteLength);
// mock allocator would allow us to allocate more than the physical memory
// available on 32bit platforms, leaving the internal counters in an invalid
// state.
buffer = null;
gc();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment