User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:188.8.131.52) Gecko/2009032609 Firefox/3.0.8 Build Identifier: Changeset: 1645 5cd73575c334 2009-03-27 15:20 -0700 jeffdyer - merge back from tc after tr->tc merge II In the Init we initialize the static "instance" variable and in the Destroy we delete "instance". It works fine as long as there is only one instance of the DLL linking to MMGC. When there are more than one instances of the objects created, we will have the problem of initializing the instance twice. To avoid this problem it will be nice if we have a reference counting around instance. Reproducible: Always Steps to Reproduce: 1.Call GCHeap::Init more than once. 2.GCHeap will assert. 3. Actual Results: It will be nice if GC can handle this situation.
Off-line discussion resulted in agreement that this facility is better provided as a wrapper to GCHeap.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.