Problem
Problem: a task in LegoFlow-SWE (Harbor dataset). @Test public void mswtMapTest() { for (int i = 0; i < 10; i++) { System.gc(); MemorySafeWindowTinyLFUMap<String, Byte map = new MemorySafeWindowTinyLFUMap< (1, 100); map.put(String.valueOf(i), new Byte M 1 2 ); } } Expected: forcing GC between…
The task
@Test public void mswtMapTest() { for (int i = 0; i < 10; i++) { System.gc(); MemorySafeWindowTinyLFUMap<String, Byte[]> map = new MemorySafeWindowTinyLFUMap<>(1, 100); map.put(String.valueOf(i), new Byte[M_1 * 2]); } } ``` **Expected:** forcing GC between iterations reclaims previous map instances and their large…
Part of Lego-X/LegoFlow-SWE.