diff src/share/vm/runtime/arguments.hpp @ 1437:9e5e83ca2259

Enabled -C1X:OPTIONS when running HotSpot/C1X. Enabled checkstyle for the HotSpotVM Java project.
author Thomas Wuerthinger <wuerthinger@ssw.jku.at>
date Mon, 25 Oct 2010 16:47:52 +0200
parents 5f1f51edaff6
children 2d26b0046e0d
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.hpp	Fri Oct 22 17:33:24 2010 +0200
+++ b/src/share/vm/runtime/arguments.hpp	Mon Oct 25 16:47:52 2010 +0200
@@ -221,6 +221,9 @@
   // an array containing all jvm arguments specified in the command line
   static char** _jvm_args_array;
   static int    _num_jvm_args;
+  // an array containing all c1x arguments specified in the command line
+  static char** _c1x_args_array;
+  static int    _num_c1x_args;
   // string containing all java command (class/jarfile name and app args)
   static char* _java_command;
 
@@ -353,6 +356,7 @@
   // methods to build strings from individual args
   static void build_jvm_args(const char* arg);
   static void build_jvm_flags(const char* arg);
+  static void add_c1x_arg(const char* arg);
   static void add_string(char*** bldarray, int* count, const char* arg);
   static const char* build_resource_string(char** args, int count);
 
@@ -406,7 +410,9 @@
   // return a char* array containing all options
   static char** jvm_flags_array()          { return _jvm_flags_array; }
   static char** jvm_args_array()           { return _jvm_args_array; }
+  static char** c1x_args_array()           { return _c1x_args_array; }
   static int num_jvm_flags()               { return _num_jvm_flags; }
+  static int num_c1x_args()               { return _num_c1x_args; }
   static int num_jvm_args()                { return _num_jvm_args; }
   // return the arguments passed to the Java application
   static const char* java_command()        { return _java_command; }