Warning: session_start(): open(/var/lib/php/sessions/sess_srk2mpduc9f1i5lo4nfslt3u1p, 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
static L> heapWalker_pathToGCRootWithFieldNames(Instance baseInstance) {
bool debug = false;
L> path = map(func(Instance i) -> Pair { pair(i, null) }, heapWalker_pathToGCRoot(baseInstance));
bigLoop: for (int i = 1; i < l(path); i++) {
long i0 = path.get(i-1).a.getInstanceId();
Instance i1 = path.get(i).a;
L fieldValues = i1.getFieldValues();
if (debug) {
print("Fields: " + map(fieldValues, func(FieldValue fv) -> S { fv.getField().getName() }));
print("Types: " + map className(fieldValues));
print("Looking for: " + i0);
print("Instances: " + map(filterByType(ObjectFieldValue.class, fieldValues), func(ObjectFieldValue fv) -> Long { fv.getInstanceId() }));
}
for (FieldValue fv : fieldValues)
if (fv instanceof ObjectFieldValue && ((ObjectFieldValue) fv).getInstanceId() == i0) {
path.get(i).b = fv.getField().getName();
continue bigLoop;
}
}
ret path;
}