hi
Can anyone tell me, how I can know about a JVM’s pinning support? Which JVMs support pinning?
I want to use the cheapest approach for handling a Direct3D texture’s byte data in Java. I have a C-plugin, that creates a Direct3D texture and invokes a JVM (standard Sun JVM 1.6) and forwards the texture’s byte data to the JVM. I would like to avoid nio ByteBuffer, since it doesn’t work well with a BufferedImage. I discovered the possibility to communicate through a simple primitive byte array. But it will only work without copying, if the JVM supports pinning. And I don’t know, how to get to know about it. I guess, the internal array format won’t be a problem, since I am using byte arrays.
Marvin
