# HG changeset patch # User Thomas Wuerthinger # Date 1295007770 -3600 # Node ID b7f06f5042068e42346e996bcc86faae0cdb721a # Parent 99ad52189524db0baaffe9b5a58b459834a99f2d Removed compiler object tracking. diff -r 99ad52189524 -r b7f06f504206 c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/CompilerObject.java --- a/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/CompilerObject.java Thu Jan 13 17:45:17 2011 +0100 +++ b/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/CompilerObject.java Fri Jan 14 13:22:50 2011 +0100 @@ -24,30 +24,9 @@ /** - * Marker interface for all HotSpot Ri... types. + * Parent class for all HotSpot Ri... types. * * @author Lukas Stadler */ public abstract class CompilerObject implements Serializable { - - - private static final boolean PrintStats = false; - private static int AllocatedCount; - private static int FinalizeCount; - - public CompilerObject() { - AllocatedCount++; - if (PrintStats && AllocatedCount % 1000 == 0) { - System.out.println("Allocated " + AllocatedCount); - } - } - - @Override - protected void finalize() throws Throwable { - FinalizeCount++; - if (PrintStats && FinalizeCount % 1000 == 0) { - System.out.println("Finalized " + FinalizeCount); - } - super.finalize(); - } }