Bug 331714 GCed entries accumulate over time in the context debug tree
bundles/org.eclipse.e4.core.contexts.debug/src/org/eclipse/e4/core/internal/contexts/debug/ui/WeakContextRef.java
public WeakContextRef(EclipseContext referent) {
		super(referent);
	}
	@Override
	public boolean equals(Object obj) {
		if (!WeakContextRef.class.equals(obj.getClass()))
			return false;
		EclipseContext context1 = get();
		EclipseContext context2 = ((WeakContextRef) obj).get();
		if (context1 == null || context2 == null)
			return super.equals(obj);
		return context1 == context2;
	}
	@Override
	public int hashCode() {
		EclipseContext context1 = get();
		if (context1 == null)
			return super.hashCode();
		return context1.hashCode();
	}
}