< prev index next >

src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/z/ZPageTable.java

Print this page

        

*** 48,59 **** public ZPageTable(Address addr) { super(addr); } ! private ZAddressRangeMapForPageTable map() { ! return (ZAddressRangeMapForPageTable)VMObjectFactory.newObject(ZAddressRangeMapForPageTable.class, addr.addOffsetTo(mapFieldOffset)); } private ZPageTableEntry getEntry(Address o) { return new ZPageTableEntry(map().get(o)); } --- 48,59 ---- public ZPageTable(Address addr) { super(addr); } ! private ZGranuleMapForPageTable map() { ! return (ZGranuleMapForPageTable)VMObjectFactory.newObject(ZGranuleMapForPageTable.class, addr.addOffsetTo(mapFieldOffset)); } private ZPageTableEntry getEntry(Address o) { return new ZPageTableEntry(map().get(o)); }
*** 65,75 **** boolean is_relocating(Address o) { return getEntry(o).relocating(); } private class ZPagesIterator implements Iterator<ZPage> { ! private ZAddressRangeMapForPageTable.Iterator mapIter; private ZPage next; ZPagesIterator() { mapIter = map().new Iterator(); positionToNext(); --- 65,75 ---- boolean is_relocating(Address o) { return getEntry(o).relocating(); } private class ZPagesIterator implements Iterator<ZPage> { ! private ZGranuleMapForPageTable.Iterator mapIter; private ZPage next; ZPagesIterator() { mapIter = map().new Iterator(); positionToNext();
< prev index next >