提交 d88aa943 编写于 作者: S sla

8004840: Jstack seems to output unnecessary information in 7u9

Reviewed-by: dholmes, coleenp, sspitsyn, rbackman
上级 352f6e56
...@@ -61,15 +61,13 @@ public class CMSCollector extends VMObject { ...@@ -61,15 +61,13 @@ public class CMSCollector extends VMObject {
CMSBitMap markBitMap = markBitMap(); CMSBitMap markBitMap = markBitMap();
long addressSize = VM.getVM().getAddressSize(); long addressSize = VM.getVM().getAddressSize();
if ( markBitMap.isMarked(addr) && markBitMap.isMarked(addr.addOffsetTo(1*addressSize)) ) { 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)); Address nextOneAddr = markBitMap.getNextMarkedWordAddress(addr.addOffsetTo(2*addressSize));
//return size in bytes //return size in bytes
long size = (nextOneAddr.addOffsetTo(1*addressSize)).minus(addr); long size = (nextOneAddr.addOffsetTo(1*addressSize)).minus(addr);
return size; return size;
} else { } else {
//missing Printezis marks //missing Printezis marks
System.err.println("Missing Printszis marks..."); return -1;
return -1;
} }
} }
......
...@@ -191,7 +191,6 @@ public class CompactibleFreeListSpace extends CompactibleSpace { ...@@ -191,7 +191,6 @@ public class CompactibleFreeListSpace extends CompactibleSpace {
//Find the object size using Printezis bits and skip over //Find the object size using Printezis bits and skip over
long size = collector().blockSizeUsingPrintezisBits(cur); long size = collector().blockSizeUsingPrintezisBits(cur);
if (size == -1) { if (size == -1) {
System.err.println("Printezis bits not set...");
break; break;
} }
cur = cur.addOffsetTo(adjustObjectSizeInBytes(size)); cur = cur.addOffsetTo(adjustObjectSizeInBytes(size));
......
...@@ -184,7 +184,6 @@ public class MethodData extends Metadata { ...@@ -184,7 +184,6 @@ public class MethodData extends Metadata {
if (trapReasonName[index] == null) { if (trapReasonName[index] == null) {
throw new InternalError("missing reason for " + index); throw new InternalError("missing reason for " + index);
} }
System.out.println(trapReasonName[index]);
} }
} }
......
...@@ -335,7 +335,6 @@ public class ObjectHeap { ...@@ -335,7 +335,6 @@ public class ObjectHeap {
} }
if (obj == null) { if (obj == null) {
//Find the object size using Printezis bits and skip over //Find the object size using Printezis bits and skip over
System.err.println("Finding object size using Printezis bits and skipping over...");
long size = 0; long size = 0;
if ( (cmsSpaceOld != null) && cmsSpaceOld.contains(handle) ){ if ( (cmsSpaceOld != null) && cmsSpaceOld.contains(handle) ){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册