orpiske commented on PR #9838: URL: https://github.com/apache/camel/pull/9838#issuecomment-1501818118
A few things > I suspect some ambiguity here. It's Object.equals(Object) which I changed in this PR. There is not implementation of [`Class.equals`](https://github.com/AdoptOpenJDK/openjdk-jdk11/blob/master/src/java.base/share/classes/java/lang/Class.java). It resolves to `Object.equals`. (And I am not talking about `Objects.equals(Object, Object)` at all. As requested, please use JMH for providing data for micro-benchmarks. The code for your benchmark is wrong (i.e.: not taking into account a huge amount of complex behavior that JVM has that can affect the result - please read the JMH documentation to understand why). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org