Mercurial > hg > truffle
diff src/share/vm/runtime/arguments.cpp @ 13008:3b3133d93fb6
8027132: Print deprecation warning message for the flags controlling the CMS foreground collector
Reviewed-by: stefank, ehelin, ysr, tschatzl
author | brutisso |
---|---|
date | Mon, 28 Oct 2013 13:27:57 +0100 |
parents | f7d928a3181c |
children | 46d7652b223c 78da3894b86f 2b8e28fdf503 |
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp Fri Oct 25 13:43:39 2013 -0700 +++ b/src/share/vm/runtime/arguments.cpp Mon Oct 28 13:27:57 2013 +0100 @@ -1988,6 +1988,15 @@ warning("DefaultMaxRAMFraction is deprecated and will likely be removed in a future release. " "Use MaxRAMFraction instead."); } + if (FLAG_IS_CMDLINE(UseCMSCompactAtFullCollection)) { + warning("UseCMSCompactAtFullCollection is deprecated and will likely be removed in a future release."); + } + if (FLAG_IS_CMDLINE(CMSFullGCsBeforeCompaction)) { + warning("CMSFullGCsBeforeCompaction is deprecated and will likely be removed in a future release."); + } + if (FLAG_IS_CMDLINE(UseCMSCollectionPassing)) { + warning("UseCMSCollectionPassing is deprecated and will likely be removed in a future release."); + } } // Check stack pages settings