Legacy Issue Number: 2561
Summary: Valuetypes can be used to form arbitrary, potentially circular graphs.
This means that reference counts may never drop to zero and that more
advanced garbage collection is required, which does not come natural to
An ORB may keep track of circularity by traversing a graph and can detect
if the last outside reference is lost. However, the overhead is significant,
and the solution would be incomplete, as users need not use "proper" refe-
rence counting on graph nodes by ignoring both OBV_* classes and default
Possible solution: restrict CORBA::DefaultValueRefCountBase to
non-circular graphs. Users can decide much better when a graph is safe
to be cleaned up.
Reported: CPP 1.0 — Tue, 30 Mar 1999 05:00 GMT
Disposition: Resolved — CPP 1.1
Close as duplicate of 2309.
Updated: Fri, 6 Mar 2015 20:58 GMT
CPP11 — Valuetypes and arbitrary graphs
- Key: CPP11-95
- OMG Task Force: C++ Mapping RTF