News for hackers. Stuff that matters.
Re:Quick Tips for Fast Code on the JVM by wging on Sunday December 31, 2017 @03:21PM (#16042667)
> Accessing Java objects from native code is also a pain, with potential performance gotchas (pinning, mostly).

What do you mean by pinning? If you mean pinning threads to cores, how does that relate to JNI?

Re:Quick Tips for Fast Code on the JVM by bennofs on Sunday December 31, 2017 @04:54PM (#16043212)
Probably pinning the object in memory, so that you can keep a stable reference to it without the danger of the GC moving it away under your pointer.
Re:Quick Tips for Fast Code on the JVM by lamansion on Sunday December 31, 2017 @06:43PM (#16043687)
Do some research on GC locker.