ByteCode.News
Submit RSS Atom Sign in

Back to the channels

#java

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