unlink_oneway(other);
other.unlink_oneway(self_handle());
}
public void unlink_oneway(EHandle handle) {
PersistentHashSet old, links;
try {
do {
old = linksref.get();
links = (PersistentHashSet) old.disjoin(handle);
} while (!linksref.weakCompareAndSet(old, links));
} catch (Exception e) {
throw new RuntimeException(e);
}