RFR: 8331033: EA fails with "EA unexpected CallLeaf unsafe_setmemory" after JDK-8329331 [v2]

Scott Gibbons sgibbons at openjdk.org
Tue May 7 19:03:28 UTC 2024


> 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.

Scott Gibbons has updated the pull request incrementally with one additional commit since the last revision:

  Add test for setMemory escape

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/19032/files
  - new: https://git.openjdk.org/jdk/pull/19032/files/d6702fc3..e938e57c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=19032&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19032&range=00-01

  Stats: 114 lines in 1 file changed: 114 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/19032.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19032/head:pull/19032

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


More information about the hotspot-compiler-dev mailing list