Project Loom: carrier pinning

349 views Asked by At

Why native code leads to carrier pinning? Is it because to switch carrier thread to another virtual thread, it should be parked from Java code?

Also, why File I/O pins a carrier thread as well right now? Is it because there is no async File IO support at Linux? (googled aio, but it looks like it is not very clear)

Are there any other examples, when carrier pinning occurs?

1

There are 1 answers

1
Sven Diedrichsen On