< prev index next >

test/lib/sun/hotspot/WhiteBox.java

Print this page

        

*** 110,119 **** --- 110,125 ---- return isMonitorInflated0(obj); } public native void forceSafepoint(); + private native long getConstantPool0(Class<?> aClass); + public long getConstantPool(Class<?> aClass) { + Objects.requireNonNull(aClass); + return getConstantPool0(aClass); + } + // JVMTI private native void addToBootstrapClassLoaderSearch0(String segment); public void addToBootstrapClassLoaderSearch(String segment){ Objects.requireNonNull(segment); addToBootstrapClassLoaderSearch0(segment);
*** 287,296 **** --- 293,307 ---- } public native void freeCodeBlob(long addr); public native void forceNMethodSweep(); public native Object[] getCodeHeapEntries(int type); public native int getCompilationActivityMode(); + private native long getMethodData0(Executable method); + public long getMethodData(Executable method) { + Objects.requireNonNull(method); + return getMethodData0(method); + } public native Object[] getCodeBlob(long addr); // Intered strings public native boolean isInStringTable(String str);
< prev index next >