3 ms·
Here's Peter's HugeCollections repo[1]. I expected to see some native code being called via JNI, but it's all done in Java. [1] https://github.com/peter-lawre
by Alupis 12y ago
Here's Peter's HugeCollections repo[1].
I expected to see some native code being called via JNI, but it's all done in Java.
[1] https://github.com/peter-lawrey/HugeCollections https://github.com/peter-lawrey/HugeCollections
- spearo77 12y agoLooks like this is the repo with more recent activity .. https://github.com/OpenHFT/HugeCollections https://github.com/OpenHFT/HugeCollections
- aardvark179 12y agoWell, the native code is replaced by the use of sun.misc.Unsafe to do the off heap allocation and access (look in io & storage classes in https://github.com/OpenHFT/Java-Lang/tree/master/lang/src/main/java/net/openhft/lang/io https://github.com/OpenHFT/Java-Lang/tree/master/lang/src/ma... ). I wonder what this sort of library will look like when Panama is done, assuming it provides the sort of structured off heap storage support I'm hoping for.