On Thu, 23 Mar 2023 09:10:26 GMT, Serguei Spitsyn <sspit...@openjdk.org> wrote:
> The fix was suggested/provided by @AlanBateman. > Continuation should use Unsafe.compareAndSetReference rather than a VH here. > We had to change CHM and VT back to Unsafe for similar reasons. > > Testing: Mach5 runs of tiers 1-6 are in progress Yes, using VH in this code is problematic as first usage will load classes and there is also possible interaction with the method type cache. ------------- PR Comment: https://git.openjdk.org/jdk/pull/13154#issuecomment-1481076095