Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
5947:80fe40862b02 | 5978:51612f0c0a79 |
---|---|
22 * | 22 * |
23 */ | 23 */ |
24 | 24 |
25 package sun.hotspot; | 25 package sun.hotspot; |
26 import java.security.BasicPermission; | 26 import java.security.BasicPermission; |
27 import sun.hotspot.parser.DiagnosticCommand; | |
27 | 28 |
28 public class WhiteBox { | 29 public class WhiteBox { |
29 | 30 |
30 @SuppressWarnings("serial") | 31 @SuppressWarnings("serial") |
31 public static class WhiteBoxPermission extends BasicPermission { | 32 public static class WhiteBoxPermission extends BasicPermission { |
65 // G1 | 66 // G1 |
66 public native boolean g1InConcurrentMark(); | 67 public native boolean g1InConcurrentMark(); |
67 public native boolean g1IsHumongous(Object o); | 68 public native boolean g1IsHumongous(Object o); |
68 public native long g1NumFreeRegions(); | 69 public native long g1NumFreeRegions(); |
69 public native int g1RegionSize(); | 70 public native int g1RegionSize(); |
71 public native Object[] parseCommandLine(String commandline, DiagnosticCommand[] args); | |
70 } | 72 } |