Warning: session_start(): open(/var/lib/php/sessions/sess_dl4rifhjqb4544q72l4dus4e8l, 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;
map2 = null;
int n = l(maps);
while (l(maps) > n-2) {
gc();
sleepSeconds(1);
maps = allWeakMaps();
print(l(maps) + ": " + map getClassName(maps));
}
print("OK!");
}