about Pinning objects
Archana <[email protected]> Thu, 5 Feb 2004 19:23:51 +0530
| Newsgroups | gmane.comp.windows.devel.dotnet.rotor |
|---|---|
| Message-ID | <Pine.LNX.4.44.0402051400410.19492-100000@purana.csa.iisc.ernet.in> |
Hi, Is there someway to find out that - 'a certain object X is no longer pinned' ? For instance in the test program sscli/tests/gc/methodical/pinning/pinningother/pinnedcollect.exe, a handle(handle1) is created to pin 'arr'. this causes the pin bit to be set for object arr. But the rotor GC mechanism sees to it that it becomes a part of the non-moving area and removes the pin bit. the problem is that the collector which i am interfacing with rotor is a copying one. and i have to ensure that the GC knows when an object is no longer pinned so that it can take further action. In the test program, Theres a call to handle1.Free(). Can this call be used to communicate this information? or is there someother way it can be done? -- Thanks, Archana =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com NEW! ASP.NET courses you may be interested in: 2 Days of ASP.NET, 29 Sept 2003, in Redmond http://www.develop.com/courses/2daspdotnet Guerrilla ASP.NET, 13 Oct 2003, in Boston http://www.develop.com/courses/gaspdotnet View archives and manage your subscription(s) at http://discuss.develop.com