rounding error in logs

Thomas Schatzl thomas.schatzl at oracle.com
Thu Sep 11 11:24:07 UTC 2014


Hi Kirk,

On Mon, 2014-09-08 at 11:28 +0200, Kirk Pepperdine wrote:
> Hi,
>
> I’ve got this from a 1.8.0_20 log but it’s been around for some time.
>
> [Eden: 448.0M(448.0M)->0.0B(448.0M) Survivors: 64.0M->64.0M Heap:
> 7740.7M(15.0G)->7334.2M(15.0G)]
> 15116.779: [GC cleanup 7334M->6817M(15G), 0.0181473 secs]
>
> As you can see the occupancy before collection is reported as 7334M
> where as the occupancy after collection in the summary record is
> 7334.2M.

While it reads 7740M as initial heap occupancy here, I created a CR
"JDK-8058221 - Rounding in log output makes evaluation difficult" as
this is something that is something that regularly poses an issue.

Please comment if the CR is appropriate.

Thanks,
  Thomas






More information about the hotspot-gc-dev mailing list