Withdrawn: CODETOOLS-7902948: jcstress: Shortcut counter copy path for copyable results

Aleksey Shipilev shade at openjdk.java.net
Tue Jun 1 12:23:29 UTC 2021


On Tue, 1 Jun 2021 09:11:01 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> In jcstress, @Result instances can be reset in place. Which means that Counter has to do defensive copies before inserting results as keys. It now does it with serialization-deserialization stub. This takes about 10 ms to initialize on first key insertion. Fortunately, we can do better: if results are implicitly copyable (i.e. have only primitive fields), we can copy them directly.

This pull request has been closed without being integrated.

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

PR: https://git.openjdk.java.net/jcstress/pull/56


More information about the jcstress-dev mailing list