comparison src/share/vm/runtime/arguments.cpp @ 8734:209f8ba5020b

8008368: Deprecate MaxGCMinorPauseMillis Summary: Deprecate MaxGCMinorPauseMillis and emit a warning if set by users Reviewed-by: brutisso, johnc Contributed-by: tamao <tao.mao@oracle.com>
author tamao
date Thu, 07 Mar 2013 10:44:04 -0800
parents 94478a033036
children eac371996b44
comparison
equal deleted inserted replaced
8733:9def4075da6d 8734:209f8ba5020b
1808 "and will likely be removed in a future release"); 1808 "and will likely be removed in a future release");
1809 } 1809 }
1810 1810
1811 if (CMSIncrementalMode) { 1811 if (CMSIncrementalMode) {
1812 warning("Using incremental CMS is deprecated and will likely be removed in a future release"); 1812 warning("Using incremental CMS is deprecated and will likely be removed in a future release");
1813 }
1814 }
1815
1816 void Arguments::check_deprecated_gc_flags() {
1817 if (FLAG_IS_CMDLINE(MaxGCMinorPauseMillis)) {
1818 warning("Using MaxGCMinorPauseMillis as minor pause goal is deprecated"
1819 "and will likely be removed in future release");
1813 } 1820 }
1814 } 1821 }
1815 1822
1816 // Check stack pages settings 1823 // Check stack pages settings
1817 bool Arguments::check_stack_pages() 1824 bool Arguments::check_stack_pages()
3290 set_parnew_gc_flags(); 3297 set_parnew_gc_flags();
3291 } else if (UseG1GC) { 3298 } else if (UseG1GC) {
3292 set_g1_gc_flags(); 3299 set_g1_gc_flags();
3293 } 3300 }
3294 check_deprecated_gcs(); 3301 check_deprecated_gcs();
3302 check_deprecated_gc_flags();
3295 #else // INCLUDE_ALL_GCS 3303 #else // INCLUDE_ALL_GCS
3296 assert(verify_serial_gc_flags(), "SerialGC unset"); 3304 assert(verify_serial_gc_flags(), "SerialGC unset");
3297 #endif // INCLUDE_ALL_GCS 3305 #endif // INCLUDE_ALL_GCS
3298 3306
3299 // Set bytecode rewriting flags 3307 // Set bytecode rewriting flags