hotspot/test/testlibrary/whitebox/sun/hotspot/WhiteBox.java
changeset 27642 8c9eff693145
parent 27470 8dd8521d6897
child 27645 8fe155d119af
--- a/hotspot/test/testlibrary/whitebox/sun/hotspot/WhiteBox.java	Sat Nov 08 16:00:28 2014 +0300
+++ b/hotspot/test/testlibrary/whitebox/sun/hotspot/WhiteBox.java	Mon Nov 10 19:04:38 2014 +0300
@@ -143,8 +143,14 @@
   }
   public native boolean enqueueMethodForCompilation(Executable method, int compLevel, int entry_bci);
   public native void    clearMethodState(Executable method);
+  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 native void    freeCodeBlob(long addr);
+  public native void    forceNMethodSweep();
+  public native Object[] getCodeHeapEntries(int type);
 
   // Intered strings
   public native boolean isInStringTable(String str);