RFR: 8354522: Clones of DecimalFormat cause interferences when used concurrently [v2]

Johannes Graham duke at openjdk.org
Tue Apr 15 21:07:46 UTC 2025


On Tue, 15 Apr 2025 20:21:40 GMT, Naoto Sato <naoto at openjdk.org> wrote:

>> My thinking was that for a test pass, it would never hit the shortcut anyway, so it’s only an optimization for the failure case, which hopefully won’t happen anymore. Seeing the count of all collisions gives some reassurance that the test is still running for long enough to be effective.
>
> This is a regression test. Detecting the regression and keeping doing the same test is unnecessary.

I’ve updated the test to exit early.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24598#discussion_r2045505613


More information about the core-libs-dev mailing list