Allocation time

Jon Masamitsu jon.masamitsu at oracle.com
Wed Jul 11 09:45:30 PDT 2012


For collectors UseSerialGC and UseConcMarkSweepGC the time to grow
the generations is not included in the the collection time but is 
included in the
overall time.  For example

[GC [DefNew : 19648K->2176K(19648K), 4.8844087 secs] 
34835K->34135K(63360K), 4.8855619 secs]

not included in the 4.8844087 but is included in the  4.8855619

For UseParallelGC it is included in the overall time 0.1939837

[GC [PSYoungGen: 78816K->11248K(78848K)] 158168K->124592K(254976K), 
0.1939837 secs]


On 7/11/2012 12:46 AM, Emanuel Couto wrote:
> Hi,
>
> I have a simple question. Does the time to perform a GC in
> "verbose:gc", "-XX:+PrintGCDetails", "-XX:+PrintGCTimeStamps", include
> allocation time (in case the generations need to be resized)?
>


More information about the hotspot-gc-use mailing list