Withdrawn: CODETOOLS-7902829: JMH Statistics implementations do not follow Comparable spec

Aleksey Shipilev shade at openjdk.java.net
Thu Feb 18 15:59:45 UTC 2021


On Thu, 18 Feb 2021 11:13:21 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> `Comparable.compareTo` spec says: "Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object."
> 
> Unfortunately, that is not followed by JMH Statistics, because they get the order wrong. The tests that are supposed to catch this are also wrong.

This pull request has been closed without being integrated.

-------------

PR: https://git.openjdk.java.net/jmh/pull/21


More information about the jmh-dev mailing list