Reputation: 41
Why does Java need to copy heap memory from(to) direct memory when involving IO system call?
Some articles say that's because of the GC, but I don't understand it clearly. And if it's truly because of the GC, do other languages have this problem, such as Go or Python?
Upvotes: 3
Views: 197