Searched refs:commitSize (Results 1 - 2 of 2) sorted by relevance

/openjdk7/hotspot/test/runtime/NMT/
H A DVirtualAllocTestType.java42 long commitSize = 128 * 1024;
57 wb.NMTCommitMemory(addr, commitSize);
63 output.shouldMatch("\\[0x[0]*" + Long.toHexString(addr) + " - 0x[0]*" + Long.toHexString(addr + commitSize) + "\\] committed 128KB");
65 wb.NMTUncommitMemory(addr, commitSize);
71 output.shouldNotMatch("\\[0x[0]*" + Long.toHexString(addr) + " - 0x[0]*" + Long.toHexString(addr + commitSize) + "\\] committed");
H A DThreadedVirtualAllocTestType.java39 public static final long commitSize = 128 * 1024; field in class:ThreadedVirtualAllocTestType
65 wb.NMTCommitMemory(addr, commitSize);
75 output.shouldMatch("\\[0x[0]*" + Long.toHexString(addr) + " - 0x[0]*" + Long.toHexString(addr + commitSize) + "\\] committed 128KB");
79 wb.NMTUncommitMemory(addr, commitSize);
89 output.shouldNotMatch("\\[0x[0]*" + Long.toHexString(addr) + " - 0x[0]*" + Long.toHexString(addr + commitSize) + "\\] committed");

Completed in 237 milliseconds