Warning: session_start(): open(/var/lib/php/sessions/sess_09q6u5ugfidov648rbqipqoh61, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
!7
p {
setOpt(javax(), 'weakMaps_debug, true);
L maps = allWeakMaps();
print(l(maps) + ": " + map getClassName(maps));
Map map = newWeakIdentityHashMap();
print(allWeakMaps());
Map map2 = newWeakHashMap();
maps = allWeakMaps();
print(l(maps) + ": " + map getClassName(maps));
assertTrue("1", containsExactObject(maps, map));
assertTrue("2", containsExactObject(maps, map2));
print("Testing GC");
map = null;
maps2 = null;
gc();
int n = l(maps);
maps = allWeakMaps();
assertTrue(l(maps) <= n-2);
print("OK!");
}