changeset 2094:f800d3025f27

Merge
author bharadwaj
date Thu, 21 Apr 2016 15:03:58 -0400
parents 4a67e08031be e51a92f0f1ac
children a79c570f52a6
files test/lib/sun/hotspot/WhiteBox.java
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);