sun.jvm.hotspot.memory.MemRegion Java Examples

The following examples show how to use sun.jvm.hotspot.memory.MemRegion. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: G1CollectedHeap.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
@Override
public void printOn(PrintStream tty) {
    MemRegion mr = reservedRegion();

    tty.print("garbage-first heap");
    tty.print(" [" + mr.start() + ", " + mr.end() + "]");
    tty.println(" region size " + (HeapRegion.grainBytes() / 1024) + "K");
}
 
Example #2
Source File: HeapRegion.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
@Override
public List getLiveRegions() {
    List res = new ArrayList();
    res.add(new MemRegion(bottom(), top()));
    return res;
}
 
Example #3
Source File: HeapRegion.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
@Override
public List getLiveRegions() {
    List res = new ArrayList();
    res.add(new MemRegion(bottom(), top()));
    return res;
}
 
Example #4
Source File: HeapRegion.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
@Override
public List getLiveRegions() {
    List res = new ArrayList();
    res.add(new MemRegion(bottom(), top()));
    return res;
}
 
Example #5
Source File: HeapRegion.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
@Override
public List getLiveRegions() {
    List res = new ArrayList();
    res.add(new MemRegion(bottom(), top()));
    return res;
}
 
Example #6
Source File: HeapRegion.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@Override
public List getLiveRegions() {
    List res = new ArrayList();
    res.add(new MemRegion(bottom(), top()));
    return res;
}
 
Example #7
Source File: HeapRegion.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
@Override
public List getLiveRegions() {
    List res = new ArrayList();
    res.add(new MemRegion(bottom(), top()));
    return res;
}
 
Example #8
Source File: G1CollectedHeap.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public long capacity() {
    Address g1CommittedAddr = addr.addOffsetTo(g1CommittedFieldOffset);
    MemRegion g1Committed = new MemRegion(g1CommittedAddr);
    return g1Committed.byteSize();
}
 
Example #9
Source File: G1CollectedHeap.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public long capacity() {
    Address g1CommittedAddr = addr.addOffsetTo(g1CommittedFieldOffset);
    MemRegion g1Committed = new MemRegion(g1CommittedAddr);
    return g1Committed.byteSize();
}