test/testlibrary/whitebox/sun/hotspot/WhiteBox.java

Print this page

        

*** 150,159 **** --- 150,162 ---- public native void lockCompilation(); public native void unlockCompilation(); public native int getMethodEntryBci(Executable method); public native Object[] getNMethod(Executable method, boolean isOsr); public native long allocateCodeBlob(int size, int type); + public long allocateCodeBlob(long size, int type) { + return allocateCodeBlob((int) size, type); + } public native void freeCodeBlob(long addr); public void forceNMethodSweep() { try { forceNMethodSweep0().join(); } catch (InterruptedException e) {