Question about -XX:+PrintTenuringDistribution and age not being printed.
jon.masamitsu at oracle.com
Fri Apr 27 14:29:26 PDT 2012
On 4/27/2012 2:03 PM, John O'Brien wrote:
> Hi everyone,
> I understand that :
> 1) par-new has features that make it work with CMS.
> 2) par-scavenge does not have these features and is incompatible with CMS.
> 3) Otherwise they are the same core algorithm...both parallel stop the
> world copying collectors.
ParNew and Parallel Scavenge are two different implementations of
collectors. They share some code but much is different. ParallelScavenge
support UseAdaptiveSizePolicy and ParNew does not (never finished).
varies the tenuring threshold to keep the survivor spaces from
also varies the sizes of the survivor spaces relative to eden while ParNew
has a fixed ratio between eden and the survivor sizes. It's hard to
of the differences.
> Why does PrintTenuringDistribution only print out the ages when ParNew
> is enabled?
> If they are the same algorithm then shouldn't they both print out age
> ? par-scavenge does not print "ages" for me when
> PrintTenuringDistribution is on.
Not the same algorithm.
> I use Parallel Old and Parallel Scavenge (ParNew can't be used with
> Parallel Old).
> Ref: https://blogs.oracle.com/jonthecollector/entry/our_collectors
> I searched the mailing lists and did not see anything , read some
> blogs and looked through some books.
> hotspot-gc-use mailing list
> hotspot-gc-use at openjdk.java.net
More information about the hotspot-gc-use