Package sun.jvm.hotspot.debugger

Examples of sun.jvm.hotspot.debugger.Address


        oldSetFieldOffset = type.getField("_old_set").getOffset();
        humongousSetFieldOffset = type.getField("_humongous_set").getOffset();
    }

    public long capacity() {
        Address g1CommittedAddr = addr.addOffsetTo(g1CommittedFieldOffset);
        MemRegion g1Committed = new MemRegion(g1CommittedAddr);
        return g1Committed.byteSize();
    }
View Full Code Here


    public long n_regions() {
        return hrs().length();
    }

    private HeapRegionSeq hrs() {
        Address hrsAddr = addr.addOffsetTo(hrsFieldOffset);
        return (HeapRegionSeq) VMObjectFactory.newObject(HeapRegionSeq.class,
                                                         hrsAddr);
    }
View Full Code Here

        return (HeapRegionSeq) VMObjectFactory.newObject(HeapRegionSeq.class,
                                                         hrsAddr);
    }

    public G1MonitoringSupport g1mm() {
        Address g1mmAddr = g1mmField.getValue(addr);
        return (G1MonitoringSupport) VMObjectFactory.newObject(G1MonitoringSupport.class, g1mmAddr);
    }
View Full Code Here

        Address g1mmAddr = g1mmField.getValue(addr);
        return (G1MonitoringSupport) VMObjectFactory.newObject(G1MonitoringSupport.class, g1mmAddr);
    }

    public HeapRegionSetBase oldSet() {
        Address oldSetAddr = addr.addOffsetTo(oldSetFieldOffset);
        return (HeapRegionSetBase) VMObjectFactory.newObject(HeapRegionSetBase.class,
                                                             oldSetAddr);
    }
View Full Code Here

        return (HeapRegionSetBase) VMObjectFactory.newObject(HeapRegionSetBase.class,
                                                             oldSetAddr);
    }

    public HeapRegionSetBase humongousSet() {
        Address humongousSetAddr = addr.addOffsetTo(humongousSetFieldOffset);
        return (HeapRegionSetBase) VMObjectFactory.newObject(HeapRegionSetBase.class,
                                                             humongousSetAddr);
    }
View Full Code Here

        regionsField = type.getAddressField("_regions");
        lengthField = type.getCIntegerField("_length");
    }

    private HeapRegion at(long index) {
        Address arrayAddr = regionsField.getValue(addr);
        // Offset of &_region[index]
        long offset = index * VM.getVM().getAddressSize();
        Address regionAddr = arrayAddr.getAddressAt(offset);
        return (HeapRegion) VMObjectFactory.newObject(HeapRegion.class,
                                                      regionAddr);
    }
View Full Code Here

TOP

Related Classes of sun.jvm.hotspot.debugger.Address

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.