|
|
|
|
|
by eternalban
5272 days ago
|
|
You can use sun.misc.Unsafe [1] and get 64 bit (long) addressing. It is JVM dependent, of course, but typically in such use cases you have pretty tight control over the stack. Unsafe pretty much covers the gap between C/JNI and NIO. [1]: http://www.javasourcecode.org/html/open-source/jdk/jdk-6u23/... [edit: see 'public native byte getByte(long address)', for ex.] |
|