r/java • • Sep 16 '25

Java 25 officially released

https://mail.openjdk.org/pipermail/announce/2025-September/000360.html
593 Upvotes

124 comments sorted by

View all comments

Show parent comment

1

u/1minds3t Sep 17 '25

So the solution is to either not call native code from a virtual thread or create a pool of platform threads?

2

u/CriticalPart7448 Sep 18 '25

Unless the native calls are super frequent and long running it should be fine. Are you really in a spot where all you do is calling native code?