2 ms·
You aren’t incurring any overhead because that native code isn’t going to try and yield execution. You would only incur the overhead if the code called back to
by aardvark179 5y ago
You aren’t incurring any overhead because that native code isn’t going to try and yield execution. You would only incur the overhead if the code called back to Java, and then that Java code performed some blocking operation.