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

git-svn-id: svn://10.0.0.236/trunk@169791 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pedemont%us.ibm.com
2005-02-24 21:53:46 +00:00
parent e3695895b7
commit adc22c6db9
11 changed files with 926 additions and 579 deletions

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");
}
}