RFR (S) 8212931 HeapMonitorStatIntervalTest.java fails due average calculation
JC Beyler
jcbeyler at google.com
Sat Nov 10 03:42:03 UTC 2018
Hi all,
Any chance I can get a review on this (technically two reviews :-))?
Thanks,
Jc
On Fri, Nov 2, 2018 at 3:55 PM JC Beyler <jcbeyler at google.com> wrote:
> Hi all,
>
> Could I get a review for a bug in the calculation of the average size of
> an allocation? The solution is actually not to do the calculation at all.
> Instead, I just go in the cache and find an object with the right
> stacktrace and get its size (since all sizes should be equal because they
> are allocating every time 1-element arrays).
>
> This removes the risk of a problem and simplifies the test.
>
> Webrev: http://cr.openjdk.java.net/~jcbeyler/8212931/webrev.00/
> Bug: https://bugs.openjdk.java.net/browse/JDK-8212931?filter=-1
>
> Thanks,
> Jc
>
--
Thanks,
Jc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20181109/8895ccfc/attachment.html>
More information about the serviceability-dev
mailing list