Mercurial > hg > graal-jvmci-8
changeset 2056:b7f06f504206
Removed compiler object tracking.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Fri, 14 Jan 2011 13:22:50 +0100 |
parents | 99ad52189524 |
children | 89bf01e6b049 |
files | c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/CompilerObject.java |
diffstat | 1 files changed, 1 insertions(+), 22 deletions(-) [+] |
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(); - } }