Request for review - 8013184 CMS: Call reset_after_compaction() only if a compaction has been done

Thomas Schatzl thomas.schatzl at oracle.com
Tue Apr 30 12:46:56 UTC 2013


Hi,

On Thu, 2013-04-25 at 12:32 -0700, Jon Masamitsu wrote:
> 8013184: CMS: Call reset_after_compaction() only if a compaction has been done
> 
> When a System.gc() is done with -XX:-UseCMSCompactAtFullCollection, a 
> mark-sweep
> without compaction is done.  In that instance the call to 
> reset_after_compaction() is
> not appropriate.
> 
> This changeset is built on top of the changeset for 8013032
> 
> http://cr.openjdk.java.net/~jmasa/8013184/webrev.00/


Minor: in the test, instead of hardcoding the class name to call, maybe
you could use something like ThreePlusMSSystemGC.class.getName()
instead.

Hth,
Thomas





More information about the hotspot-gc-dev mailing list