src/share/vm/runtime/arguments.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hsx-gc Sdiff src/share/vm/runtime

src/share/vm/runtime/arguments.cpp

Print this page




3639   } else if (UseConcMarkSweepGC) { // should be done before ParNew check below
3640     set_cms_and_parnew_gc_flags();
3641   } else if (UseParNewGC) {  // skipped if CMS is set above
3642     set_parnew_gc_flags();
3643   } else if (UseG1GC) {
3644     set_g1_gc_flags();
3645   }
3646   check_deprecated_gcs();
3647   check_deprecated_gc_flags();
3648   if (AssumeMP && !UseSerialGC) {
3649     if (FLAG_IS_DEFAULT(ParallelGCThreads) && ParallelGCThreads == 1) {
3650       warning("If the number of processors is expected to increase from one, then"
3651               " you should configure the number of parallel GC threads appropriately"
3652               " using -XX:ParallelGCThreads=N");
3653     }
3654   }
3655 #else // INCLUDE_ALL_GCS
3656   assert(verify_serial_gc_flags(), "SerialGC unset");
3657 #endif // INCLUDE_ALL_GCS
3658 



3659   // Set bytecode rewriting flags
3660   set_bytecode_flags();
3661 
3662   // Set flags if Aggressive optimization flags (-XX:+AggressiveOpts) enabled.
3663   set_aggressive_opts_flags();
3664 
3665   // Turn off biased locking for locking debug mode flags,
3666   // which are subtlely different from each other but neither works with
3667   // biased locking.
3668   if (UseHeavyMonitors
3669 #ifdef COMPILER1
3670       || !UseFastLocking
3671 #endif // COMPILER1
3672     ) {
3673     if (!FLAG_IS_DEFAULT(UseBiasedLocking) && UseBiasedLocking) {
3674       // flag set to true on command line; warn the user that they
3675       // can't enable biased locking here
3676       warning("Biased Locking is not supported with locking debug flags"
3677               "; ignoring UseBiasedLocking flag." );
3678     }




3639   } else if (UseConcMarkSweepGC) { // should be done before ParNew check below
3640     set_cms_and_parnew_gc_flags();
3641   } else if (UseParNewGC) {  // skipped if CMS is set above
3642     set_parnew_gc_flags();
3643   } else if (UseG1GC) {
3644     set_g1_gc_flags();
3645   }
3646   check_deprecated_gcs();
3647   check_deprecated_gc_flags();
3648   if (AssumeMP && !UseSerialGC) {
3649     if (FLAG_IS_DEFAULT(ParallelGCThreads) && ParallelGCThreads == 1) {
3650       warning("If the number of processors is expected to increase from one, then"
3651               " you should configure the number of parallel GC threads appropriately"
3652               " using -XX:ParallelGCThreads=N");
3653     }
3654   }
3655 #else // INCLUDE_ALL_GCS
3656   assert(verify_serial_gc_flags(), "SerialGC unset");
3657 #endif // INCLUDE_ALL_GCS
3658 
3659   // Initialize Metaspace flags and alignments.
3660   Metaspace::ergo_initialize();
3661 
3662   // Set bytecode rewriting flags
3663   set_bytecode_flags();
3664 
3665   // Set flags if Aggressive optimization flags (-XX:+AggressiveOpts) enabled.
3666   set_aggressive_opts_flags();
3667 
3668   // Turn off biased locking for locking debug mode flags,
3669   // which are subtlely different from each other but neither works with
3670   // biased locking.
3671   if (UseHeavyMonitors
3672 #ifdef COMPILER1
3673       || !UseFastLocking
3674 #endif // COMPILER1
3675     ) {
3676     if (!FLAG_IS_DEFAULT(UseBiasedLocking) && UseBiasedLocking) {
3677       // flag set to true on command line; warn the user that they
3678       // can't enable biased locking here
3679       warning("Biased Locking is not supported with locking debug flags"
3680               "; ignoring UseBiasedLocking flag." );
3681     }


src/share/vm/runtime/arguments.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File