test/lib/sun/hotspot/WhiteBox.java
changeset 37958 04a779e51d6e
parent 37954 74d146e5be3b
parent 37955 0e25f6f1d8f0
child 38629 0602da3f94c9
child 39195 8aa38604bd2b
--- a/test/lib/sun/hotspot/WhiteBox.java	Wed Apr 20 19:16:32 2016 +0300
+++ b/test/lib/sun/hotspot/WhiteBox.java	Thu Apr 21 15:03:58 2016 -0400
@@ -317,6 +317,11 @@
     Objects.requireNonNull(method);
     return enqueueMethodForCompilation0(method, compLevel, entry_bci);
   }
+  private native boolean enqueueInitializerForCompilation0(Class<?> aClass, int compLevel);
+  public  boolean enqueueInitializerForCompilation(Class<?> aClass, int compLevel) {
+    Objects.requireNonNull(aClass);
+    return enqueueInitializerForCompilation0(aClass, compLevel);
+  }
   private native void    clearMethodState0(Executable method);
   public         void    clearMethodState(Executable method) {
     Objects.requireNonNull(method);