< prev index next >

src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/ConstantPool.java

Print this page

        

*** 694,704 **** public void printValueOn(PrintStream tty) { tty.print("ConstantPool for " + getPoolHolder().getName().asString()); } public long getSize() { ! return Oop.alignObjectSize(headerSize + getLength()); } //---------------------------------------------------------------------- // Internals only below this point // --- 694,704 ---- public void printValueOn(PrintStream tty) { tty.print("ConstantPool for " + getPoolHolder().getName().asString()); } public long getSize() { ! return alignSize(headerSize + getLength()); } //---------------------------------------------------------------------- // Internals only below this point //
< prev index next >