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?
About carrier pinning as of May 2020: https://cr.openjdk.java.net/~rpressler/loom/loom/sol1_part1.html#pinning