hotspot/src/share/vm/runtime/arguments.cpp
changeset 22551 9bf46d16dcc6
parent 22504 b1837533ba65
child 22555 ea32f6c51d08
equal deleted inserted replaced
22550:820966182ab9 22551:9bf46d16dcc6
   176                                                                  "Java Virtual Machine Specification",  false));
   176                                                                  "Java Virtual Machine Specification",  false));
   177   PropertyList_add(&_system_properties, new SystemProperty("java.vm.version", VM_Version::vm_release(),  false));
   177   PropertyList_add(&_system_properties, new SystemProperty("java.vm.version", VM_Version::vm_release(),  false));
   178   PropertyList_add(&_system_properties, new SystemProperty("java.vm.name", VM_Version::vm_name(),  false));
   178   PropertyList_add(&_system_properties, new SystemProperty("java.vm.name", VM_Version::vm_name(),  false));
   179   PropertyList_add(&_system_properties, new SystemProperty("java.vm.info", VM_Version::vm_info_string(),  true));
   179   PropertyList_add(&_system_properties, new SystemProperty("java.vm.info", VM_Version::vm_info_string(),  true));
   180 
   180 
   181   // following are JVMTI agent writeable properties.
   181   // Following are JVMTI agent writable properties.
   182   // Properties values are set to NULL and they are
   182   // Properties values are set to NULL and they are
   183   // os specific they are initialized in os::init_system_properties_values().
   183   // os specific they are initialized in os::init_system_properties_values().
   184   _java_ext_dirs = new SystemProperty("java.ext.dirs", NULL,  true);
   184   _java_ext_dirs = new SystemProperty("java.ext.dirs", NULL,  true);
   185   _java_endorsed_dirs = new SystemProperty("java.endorsed.dirs", NULL,  true);
   185   _java_endorsed_dirs = new SystemProperty("java.endorsed.dirs", NULL,  true);
   186   _sun_boot_library_path = new SystemProperty("sun.boot.library.path", NULL,  true);
   186   _sun_boot_library_path = new SystemProperty("sun.boot.library.path", NULL,  true);
  1304   // with YoungPLABSize and OldPLABSize options.
  1304   // with YoungPLABSize and OldPLABSize options.
  1305   // See CR 6362902.
  1305   // See CR 6362902.
  1306   if (!FLAG_IS_DEFAULT(OldPLABSize)) {
  1306   if (!FLAG_IS_DEFAULT(OldPLABSize)) {
  1307     if (FLAG_IS_DEFAULT(CMSParPromoteBlocksToClaim)) {
  1307     if (FLAG_IS_DEFAULT(CMSParPromoteBlocksToClaim)) {
  1308       // OldPLABSize is not the default value but CMSParPromoteBlocksToClaim
  1308       // OldPLABSize is not the default value but CMSParPromoteBlocksToClaim
  1309       // is.  In this situtation let CMSParPromoteBlocksToClaim follow
  1309       // is.  In this situation let CMSParPromoteBlocksToClaim follow
  1310       // the value (either from the command line or ergonomics) of
  1310       // the value (either from the command line or ergonomics) of
  1311       // OldPLABSize.  Following OldPLABSize is an ergonomics decision.
  1311       // OldPLABSize.  Following OldPLABSize is an ergonomics decision.
  1312       FLAG_SET_ERGO(uintx, CMSParPromoteBlocksToClaim, OldPLABSize);
  1312       FLAG_SET_ERGO(uintx, CMSParPromoteBlocksToClaim, OldPLABSize);
  1313     } else {
  1313     } else {
  1314       // OldPLABSize and CMSParPromoteBlocksToClaim are both set.
  1314       // OldPLABSize and CMSParPromoteBlocksToClaim are both set.
  3664   }
  3664   }
  3665 #else // INCLUDE_ALL_GCS
  3665 #else // INCLUDE_ALL_GCS
  3666   assert(verify_serial_gc_flags(), "SerialGC unset");
  3666   assert(verify_serial_gc_flags(), "SerialGC unset");
  3667 #endif // INCLUDE_ALL_GCS
  3667 #endif // INCLUDE_ALL_GCS
  3668 
  3668 
  3669   // Initialize Metaspace flags and alignments.
  3669   // Initialize Metaspace flags and alignments
  3670   Metaspace::ergo_initialize();
  3670   Metaspace::ergo_initialize();
  3671 
  3671 
  3672   // Set bytecode rewriting flags
  3672   // Set bytecode rewriting flags
  3673   set_bytecode_flags();
  3673   set_bytecode_flags();
  3674 
  3674 
  3675   // Set flags if Aggressive optimization flags (-XX:+AggressiveOpts) enabled.
  3675   // Set flags if Aggressive optimization flags (-XX:+AggressiveOpts) enabled
  3676   set_aggressive_opts_flags();
  3676   set_aggressive_opts_flags();
  3677 
  3677 
  3678   // Turn off biased locking for locking debug mode flags,
  3678   // Turn off biased locking for locking debug mode flags,
  3679   // which are subtlely different from each other but neither works with
  3679   // which are subtly different from each other but neither works with
  3680   // biased locking.
  3680   // biased locking
  3681   if (UseHeavyMonitors
  3681   if (UseHeavyMonitors
  3682 #ifdef COMPILER1
  3682 #ifdef COMPILER1
  3683       || !UseFastLocking
  3683       || !UseFastLocking
  3684 #endif // COMPILER1
  3684 #endif // COMPILER1
  3685     ) {
  3685     ) {