RFR: 8331033: EA fails with "EA unexpected CallLeaf unsafe_setmemory" after JDK-8329331
Vladimir Kozlov
kvn at openjdk.org
Wed May 1 18:37:53 UTC 2024
On Wed, 1 May 2024 14:01:38 GMT, Scott Gibbons <sgibbons at openjdk.org> wrote:
> Added a strcmp for unsafe_setmemory in process_call_arguments() so the assert would not trigger.
>
> I believe this is the correct fix as I do not think the arguments for setMemory need special handling like arraycopy.
>
> I would like suggestions on how to generate a testcase to catch this type of error in mainline.
Look on EA tests in `compiler/escapeAnalysis/` which use arraycopy(). Something like `TestMissingAntiDependency.java` or `TestSelfArrayCopy.java`
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19032#issuecomment-2088896952
More information about the hotspot-compiler-dev
mailing list