Mercurial > hg > graal-jvmci-8
diff c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/CompilerObject.java @ 2056:b7f06f504206
Removed compiler object tracking.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Fri, 14 Jan 2011 13:22:50 +0100 |
parents | 3c0a889a176b |
children | 569d3fe7d65c |
line wrap: on
line diff
--- 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(); - } }