RFR: 8304448: Kitchensink failed: assert(!thread->is_in_any_VTMS_transition()) failed: class prepare events are not allowed in any VTMS transition

Alan Bateman alanb at openjdk.org
Thu Mar 23 12:09:03 UTC 2023


On Thu, 23 Mar 2023 09:10:26 GMT, Serguei Spitsyn <sspitsyn at 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


More information about the core-libs-dev mailing list