RFR: 8330146: assert(!_thread->is_in_any_VTMS_transition()) failed

Serguei Spitsyn sspitsyn at openjdk.org
Fri May 3 09:02:54 UTC 2024


On Fri, 3 May 2024 06:49:09 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> It seems maybe we should instead be trying to avoid these events by preloading the classes as was suggested as an option in the CR.

The problem is that all such cases are unknown, so it is just not realistic. As Alan commented, this exact debugging option will be removed soon. The other cases are extremely rare because they were not identified with the assert in place (in fact, these assert existed for a couple of releases for exactly this purpose). However, such classes can cause real problems (deadlocks and other issues as we see) if they are not ignored by `CFLH`, `ClassPrepare` and `ClassLoad` posting code.

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

PR Comment: https://git.openjdk.org/jdk/pull/19054#issuecomment-2092596008


More information about the serviceability-dev mailing list