< prev index next >
src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/z/ZPageTableEntry.java
Print this page
rev 48259 : SA for GC - patch 2
@@ -23,16 +23,17 @@
*/
package sun.jvm.hotspot.gc.z;
import sun.jvm.hotspot.debugger.Address;
+import sun.jvm.hotspot.runtime.VMObjectFactory;
class ZPageTableEntry {
Address entry;
ZPage page() {
- return new ZPage(entry.andWithMask(~1L));
+ return (ZPage)VMObjectFactory.newObject(ZPage.class, entry.andWithMask(~1L));
}
boolean relocating() {
return (entry.asLongValue() & 1) == 1;
}
< prev index next >