RFR: JDK-8316756: C2 EA fails with "missing memory path" when encountering unsafe_arraycopy stub call

Tobias Holenstein tholenstein at openjdk.org
Fri Jan 12 15:47:21 UTC 2024


On Thu, 11 Jan 2024 23:31:15 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

> > Flag setting (StoreB nodes) in JavaThread::_doing_unsafe_access is also not affected but it is volatile field and these stores should be staying where they are. They can't go up or down.
> 
> In a private discussion with @tobiasholenstein, I proposed to move those stores into the corresponding stub. It would complicate the implementation a bit (platform-specific vs cross-platform implementation), but simplify things on IR level.

So you think we should go for that solution instead of this fix?

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

PR Comment: https://git.openjdk.org/jdk/pull/17347#issuecomment-1889534817


More information about the hotspot-compiler-dev mailing list