Mercurial > hg > graal-jvmci-8
comparison test/testlibrary/whitebox/sun/hotspot/WhiteBox.java @ 9056:3b890cd4da64
8009125: Add NMT tests for Virtual Memory operations
Summary: Tests added for Reserve/Commit/Uncommit/Unreserve operations
Reviewed-by: zgu, mgerdin
author | ctornqvi |
---|---|
date | Wed, 03 Apr 2013 21:41:33 +0200 |
parents | ede380e13960 |
children | 7a5aec879506 c9eb0ec1c792 |
comparison
equal
deleted
inserted
replaced
8852:a4e8dac9db8c | 9056:3b890cd4da64 |
---|---|
78 public native long g1NumFreeRegions(); | 78 public native long g1NumFreeRegions(); |
79 public native int g1RegionSize(); | 79 public native int g1RegionSize(); |
80 public native Object[] parseCommandLine(String commandline, DiagnosticCommand[] args); | 80 public native Object[] parseCommandLine(String commandline, DiagnosticCommand[] args); |
81 | 81 |
82 // NMT | 82 // NMT |
83 public native boolean NMTAllocTest(); | 83 public native long NMTMalloc(long size); |
84 public native boolean NMTFreeTestMemory(); | 84 public native void NMTFree(long mem); |
85 public native long NMTReserveMemory(long size); | |
86 public native void NMTCommitMemory(long addr, long size); | |
87 public native void NMTUncommitMemory(long addr, long size); | |
88 public native void NMTReleaseMemory(long addr, long size); | |
85 public native boolean NMTWaitForDataMerge(); | 89 public native boolean NMTWaitForDataMerge(); |
86 | 90 |
87 // Compiler | 91 // Compiler |
88 public native void deoptimizeAll(); | 92 public native void deoptimizeAll(); |
89 public native boolean isMethodCompiled(Method method); | 93 public native boolean isMethodCompiled(Method method); |