agent/src/share/classes/sun/jvm/hotspot/memory/CMSCollector.java

Print this page
rev 4134 : imported patch remove-prints

@@ -59,18 +59,16 @@
 
   public long blockSizeUsingPrintezisBits(Address addr) {
     CMSBitMap markBitMap = markBitMap();
     long addressSize = VM.getVM().getAddressSize();
     if ( markBitMap.isMarked(addr) &&  markBitMap.isMarked(addr.addOffsetTo(1*addressSize)) ) {
-       System.err.println("Printezis bits are set...");
       Address nextOneAddr = markBitMap.getNextMarkedWordAddress(addr.addOffsetTo(2*addressSize));
       //return size in bytes
       long size =  (nextOneAddr.addOffsetTo(1*addressSize)).minus(addr);
       return size;
     } else {
      //missing Printezis marks
-     System.err.println("Missing Printszis marks...");
      return -1;
     }
 
   }
 }