RFR: 8311218: fatal error: stuck in JvmtiVTMSTransitionDisabler::VTMS_transition_disable [v8]

Alan Bateman alanb at openjdk.org
Wed Jan 3 14:06:53 UTC 2024


On Wed, 3 Jan 2024 13:55:24 GMT, Thomas Wuerthinger <duke at openjdk.org> wrote:

> Are these new compiler intrinsics required or an optional performance optimization? 

Performance. If the intrinsic isn't there then some methods executed on virtual threads, or on a virtual thread as the target for some op, will have to call into the VM.  The main concern was Thread.interrupted() as it gets called very frequently in locking and concurrency code.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17011#discussion_r1440487675


More information about the core-libs-dev mailing list