On Wed, 3 Jan 2024 13:55:24 GMT, Thomas Wuerthinger <d...@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

Reply via email to