public static void keep(Value value, EvaluationContext context) { if (value instanceof ObjectReference) { ((SuspendContextImpl) context.getSuspendContext()).keep((ObjectReference) value); } }
private static void keep(ObjectReference reference, EvaluationContext context) { ((SuspendContextImpl) context.getSuspendContext()).keep(reference); }