src/share/tools/whitebox/sun/hotspot/WhiteBox.java

Print this page
rev 3201 : 7148488: Whitebox tests for the Diagnostic Framework Parser

@@ -22,10 +22,11 @@
  *
  */
 
 package sun.hotspot;
 import java.security.BasicPermission;
+import sun.hotspot.parser.DiagnosticCommand;
 
 public class WhiteBox {
 
   @SuppressWarnings("serial")
   public static class WhiteBoxPermission extends BasicPermission {

@@ -65,6 +66,7 @@
   // G1
   public native boolean g1InConcurrentMark();
   public native boolean g1IsHumongous(Object o);
   public native long    g1NumFreeRegions();
   public native int     g1RegionSize();
+  public native Object[]    parseCommandLine(String commandline, DiagnosticCommand[] args);
 }