hotspot/src/share/vm/runtime/arguments.hpp
changeset 4434 4b41e5b42f81
parent 2358 7c8346929fc6
child 4885 cee90a57b58f
equal deleted inserted replaced
4090:3dd0ee516f2d 4434:4b41e5b42f81
   252 
   252 
   253   // Option flags
   253   // Option flags
   254   static bool   _has_profile;
   254   static bool   _has_profile;
   255   static bool   _has_alloc_profile;
   255   static bool   _has_alloc_profile;
   256   static const char*  _gc_log_filename;
   256   static const char*  _gc_log_filename;
   257   static uintx  _initial_heap_size;
       
   258   static uintx  _min_heap_size;
   257   static uintx  _min_heap_size;
   259 
   258 
   260   // -Xrun arguments
   259   // -Xrun arguments
   261   static AgentLibraryList _libraryList;
   260   static AgentLibraryList _libraryList;
   262   static void add_init_library(const char* name, char* options)
   261   static void add_init_library(const char* name, char* options)
   298   static void set_parallel_gc_flags();
   297   static void set_parallel_gc_flags();
   299   // Garbage-First (UseG1GC)
   298   // Garbage-First (UseG1GC)
   300   static void set_g1_gc_flags();
   299   static void set_g1_gc_flags();
   301   // GC ergonomics
   300   // GC ergonomics
   302   static void set_ergonomics_flags();
   301   static void set_ergonomics_flags();
   303   // Setup heap size for a server platform
   302   // Setup heap size
   304   static void set_server_heap_size();
   303   static void set_heap_size();
   305   // Based on automatic selection criteria, should the
   304   // Based on automatic selection criteria, should the
   306   // low pause collector be used.
   305   // low pause collector be used.
   307   static bool should_auto_select_low_pause_collector();
   306   static bool should_auto_select_low_pause_collector();
   308 
   307 
   309   // Bytecode rewriting
   308   // Bytecode rewriting
   432 
   431 
   433   // -Xprof/-Xaprof
   432   // -Xprof/-Xaprof
   434   static bool has_profile()                 { return _has_profile; }
   433   static bool has_profile()                 { return _has_profile; }
   435   static bool has_alloc_profile()           { return _has_alloc_profile; }
   434   static bool has_alloc_profile()           { return _has_alloc_profile; }
   436 
   435 
   437   // -Xms , -Xmx
   436   // -Xms, -Xmx
   438   static uintx initial_heap_size()          { return _initial_heap_size; }
       
   439   static void  set_initial_heap_size(uintx v) { _initial_heap_size = v;  }
       
   440   static uintx min_heap_size()              { return _min_heap_size; }
   437   static uintx min_heap_size()              { return _min_heap_size; }
   441   static void  set_min_heap_size(uintx v)   { _min_heap_size = v;  }
   438   static void  set_min_heap_size(uintx v)   { _min_heap_size = v;  }
   442 
   439 
   443   // -Xrun
   440   // -Xrun
   444   static AgentLibrary* libraries()          { return _libraryList.first(); }
   441   static AgentLibrary* libraries()          { return _libraryList.first(); }