Mercurial > hg > truffle
diff src/share/tools/whitebox/sun/hotspot/WhiteBox.java @ 5978:51612f0c0a79
7148488: Whitebox tests for the Diagnostic Framework Parser
Reviewed-by: brutisso, sla, mgerdin
author | nloodin |
---|---|
date | Thu, 15 Mar 2012 13:37:13 +0100 |
parents | 2d503de963b3 |
children | da91efe96a93 |
line wrap: on
line diff
--- a/src/share/tools/whitebox/sun/hotspot/WhiteBox.java Tue Mar 20 16:46:39 2012 -0400 +++ b/src/share/tools/whitebox/sun/hotspot/WhiteBox.java Thu Mar 15 13:37:13 2012 +0100 @@ -24,6 +24,7 @@ package sun.hotspot; import java.security.BasicPermission; +import sun.hotspot.parser.DiagnosticCommand; public class WhiteBox { @@ -67,4 +68,5 @@ public native boolean g1IsHumongous(Object o); public native long g1NumFreeRegions(); public native int g1RegionSize(); + public native Object[] parseCommandLine(String commandline, DiagnosticCommand[] args); }