test/lib/sun/hotspot/WhiteBox.java
changeset 36542 67e12a9fe95d
parent 36506 17612cee3530
parent 36536 1ecb1c7ada71
child 37025 e0533c567b27
--- a/test/lib/sun/hotspot/WhiteBox.java	Tue Mar 22 10:44:28 2016 +0000
+++ b/test/lib/sun/hotspot/WhiteBox.java	Tue Mar 22 17:02:40 2016 +0000
@@ -465,4 +465,8 @@
   public native boolean isShared(Object o);
   public native boolean isSharedClass(Class<?> c);
   public native boolean areSharedStringsIgnored();
+
+  // Compiler Directive
+  public native int addCompilerDirective(String compDirect);
+  public native void removeCompilerDirective(int count);
 }