RFR: 8261847: performace of java.lang.Record::toString should be improved [v3]

Vicente Romero vromero at openjdk.java.net
Fri Nov 19 05:36:39 UTC 2021


On Fri, 19 Nov 2021 05:28:10 GMT, Guoxiong Li <gli at openjdk.org> wrote:

> FYI: this patch also seems to solve [JDK-8265747](https://bugs.openjdk.java.net/browse/JDK-8265747).

yep, although I prefer to keep [JDK-8265747](https://bugs.openjdk.java.net/browse/JDK-8265747) because it is also referring to the hashCode method, and so far I have been focusing on the `toString` only which is the one for which we have the worst performance right now. Thanks for the heads-up

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

PR: https://git.openjdk.java.net/jdk/pull/6403


More information about the core-libs-dev mailing list