hg: code-tools/jmh: 7901227: Division by zero in ListStatistics.getVariance() with N=1

aleksey.shipilev at oracle.com aleksey.shipilev at oracle.com
Mon Dec 22 14:47:55 UTC 2014


Changeset: df151f9c0071
Author:    shade
Date:      2014-12-22 17:47 +0300
URL:       http://hg.openjdk.java.net/code-tools/jmh/rev/df151f9c0071

7901227: Division by zero in ListStatistics.getVariance() with N=1
Summary: Fix the calculation and do more tests.

! jmh-core/src/main/java/org/openjdk/jmh/util/ListStatistics.java
! jmh-core/src/test/java/org/openjdk/jmh/util/TestListStatistics.java
! jmh-core/src/test/java/org/openjdk/jmh/util/TestMultisetStatistics.java



More information about the jmh-dev mailing list