comparison test/testlibrary/whitebox/sun/hotspot/WhiteBox.java @ 12118:5fd8e2fbafd4

8020829: JT_HS: 2 runtime NMT tests fail on platforms if NMT detail is not supported Summary: Make tests query a new WhiteBox API to see if NMT detail is supported, and behave properly if it is not supported. Reviewed-by: dholmes, coleenp
author cjplummer
date Fri, 23 Aug 2013 12:36:32 -0700
parents f99558245e5c
children 40136aa2cdb1
comparison
equal deleted inserted replaced
12117:f92b82d454fa 12118:5fd8e2fbafd4
88 public native long NMTReserveMemory(long size); 88 public native long NMTReserveMemory(long size);
89 public native void NMTCommitMemory(long addr, long size); 89 public native void NMTCommitMemory(long addr, long size);
90 public native void NMTUncommitMemory(long addr, long size); 90 public native void NMTUncommitMemory(long addr, long size);
91 public native void NMTReleaseMemory(long addr, long size); 91 public native void NMTReleaseMemory(long addr, long size);
92 public native boolean NMTWaitForDataMerge(); 92 public native boolean NMTWaitForDataMerge();
93 public native boolean NMTIsDetailSupported();
93 94
94 // Compiler 95 // Compiler
95 public native void deoptimizeAll(); 96 public native void deoptimizeAll();
96 public boolean isMethodCompiled(Executable method) { 97 public boolean isMethodCompiled(Executable method) {
97 return isMethodCompiled(method, false /*not osr*/); 98 return isMethodCompiled(method, false /*not osr*/);