Issue 154: Problem with Any::to_object memory management (cxx_revision) Source: (, ) Nature: Uncategorized Severity: Summary: Summary: Section 16.14.5-implies that a CORBA::Object reference extracted from Any must share memory with actual interface stored in Any.Better: results of Any::to_object require explicit release() Resolution: resolved, close issue Revised Text: Actions taken: October 7, 1996: received issue February 19, 1999: closed issue Discussion: End of Annotations:===== >From jon@sems.com Mon Oct 7 14:46:19 1996 Received: from ns.sems.com by amethyst.omg.org.omg.org (5.4R2.01/1.34) id AA28125; Mon, 7 Oct 1996 14:46:19 -0400 Received: from vaccine-bb.netlabs.com (vaccine-bb.sems.com) by proxy.netlabs.com (4.1/SMI-4.1) id AA01806; Mon, 7 Oct 96 10:39:10 PDT Received: from clamp.netlabs.com by vaccine-bb.netlabs.com (4.1/SMI-4.1) id AA24887; Mon, 7 Oct 96 11:44:56 PDT Received: from clamp by clamp.netlabs.com (SMI-8.6/SMI-SVR4) id LAA04231; Mon, 7 Oct 1996 11:44:55 -0700 Sender: jon@sems.com Message-Id: <32594FA6.555E@sems.com> Date: Mon, 07 Oct 1996 11:44:54 -0700 From: Jonathan Biggar Organization: Seagate Enterprise Management Software X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5.1 sun4m) Mime-Version: 1.0 To: cxx_revision@omg.org, issues@omg.org Subject: Problem with Any::to_object memory management Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Section 16.14.5 states: "As with regular object reference extraction, no duplication of the object reference is performed by the to_object extraction operator." Isn't this too constraining on the implementation? This implies that a CORBA::Object reference extracted from the Any must share memory with the actual interface reference stored in the any. This has serious implications for implementations which do not implement object reference T_ptr types via C++ inheritence. It would be better if the results of using Any::to_object required an explicit release() call. Jon Biggar jon@sems.com Received: from rune.omg.org by amethyst.omg.org.omg.org (5.4R2.01/1.34) id AA09546; Thu, 10 Oct 1996 14:48:10 -0400 Message-Id: <2.2.32.19961010183248.006c8510@amethyst.omg.org> X-Sender: juergen@amethyst.omg.org X-Mailer: Windows Eudora Pro Version 2.2 (32) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 10 Oct 1996 14:32:48 -0400 To: issues, cxx_revision From: Juergen Boldt Subject: issue #154 This is issue # 154 Problem with Any::to_object memory management Section 16.14.5-implies that a CORBA::Object reference extracted from Any must share memory with actual interface stored in Any.Better: results of Any::to_object require explicit release() -Juergen