Examples of NMTCommitMemory()


Examples of sun.hotspot.WhiteBox.NMTCommitMemory()

    WhiteBox wb = WhiteBox.getWhiteBox();
    long reserveSize = 256 * 1024;
    long addr;

    addr = wb.NMTReserveMemory(reserveSize);
    wb.NMTCommitMemory(addr, 128*1024);
    wb.NMTReleaseMemory(addr, reserveSize);
    wb.NMTWaitForDataMerge();
  }
}

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.