8012111: Remove warning about CMS generation shrinking

Reviewed-by: johnc, brutisso, stefank
This commit is contained in:
Jon Masamitsu 2013-04-22 22:00:03 -07:00
parent bdf829cf3e
commit ddbf6ad621
2 changed files with 63 additions and 2 deletions

View file

@ -3426,8 +3426,9 @@ bool ConcurrentMarkSweepGeneration::grow_to_reserved() {
void ConcurrentMarkSweepGeneration::shrink_free_list_by(size_t bytes) {
assert_locked_or_safepoint(Heap_lock);
assert_lock_strong(freelistLock());
// XXX Fix when compaction is implemented.
warning("Shrinking of CMS not yet implemented");
if (PrintGCDetails && Verbose) {
warning("Shrinking of CMS not yet implemented");
}
return;
}