Bug 281102 - Allow many Java proxies per XPCOM object. r=darin

This commit is contained in:
pedemont@us.ibm.com
2005-02-24 21:53:46 +00:00
parent 400344350d
commit 5488d7285f
11 changed files with 926 additions and 579 deletions
+4 -2
View File
@@ -46,7 +46,8 @@ public class Foo implements IFoo {
{
mID = aID;
++gCount;
System.out.println("init: " + mID + " (" + this.hashCode() + "), " +
System.out.println("init: " + mID + " (" +
Integer.toHexString(this.hashCode()) + "), " +
gCount +" total");
}
@@ -65,7 +66,8 @@ public class Foo implements IFoo {
protected void finalize() throws Throwable
{
--gCount;
System.out.println("destruct: " + mID + " (" + this.hashCode() + "), " +
System.out.println("destruct: " + mID + " (" +
Integer.toHexString(this.hashCode()) + "), " +
gCount +" remain");
}
}