RFR: 8299970: Speed up compiler/arraycopy/TestArrayCopyConjoint.java [v2]

Emanuel Peter epeter at openjdk.org
Thu Feb 9 12:01:08 UTC 2023


On Wed, 8 Feb 2023 19:55:39 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> But with that try/catch, no exception will be thrown and therefore the test would pass, right? And the exception would contain a stack trace, no need to catch it and print its contents.
>
> You are right. In this case, please also update `TestArrayCopyDisjoint.java` test.
> It could be "copy/paste" issue when these tests were created based on other existing tests.
> May be in separate RFE we should review tests which use `catch` and may hide a failure.

Thanks for the idea, I applied it to `TestArrayCopyDisjoint.java`, and updated the description above.

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

PR: https://git.openjdk.org/jdk/pull/12475


More information about the hotspot-compiler-dev mailing list