Back to the channels
#java
- NeXeN deebo: i would suspect checking jdk.VirtualThreadPinned and jdk.VirtualThreadTermination in JFR
- NeXeN i would suspect pinning
- NeXeN let me look at a manpage real quick, i read about it the other day but i forget offhand
- NeXeN here we go: https://docs.oracle.com/en/java/javase/21/core/virtual-threads.html#GUID-144A9694-40FD-4F63-97D2-8D394450F5D2
- nevet Core Libraries
- NeXeN also are you vivifying your executor (VirtualThreadPerTaskExecutor) within a try-with-resources-statement?
- deebo pinning is not really an issue on jdk25 any more, and i had the pinning warnings on anyhow, and got none
- deebo somehow stuff was just not getting unparked, still havent figured it out
- NeXeN i would suggest putting it in a try-with-resources-statement and see if the thread does a close()
- NeXeN but yeah, barring anything like that, it is probably an old fashioned race condition, i hate to always play the race card
- NeXeN let me know who wins the race