Java shared memory
rsmogura at gmail.com
Mon May 30 18:48:10 UTC 2016
Please don’t think I’m so crazy. Recently I was working on JVM changes to add shared memory / memory mapping support.
I’m able to map part of files as primitive java arrays. First performance results are very optimistic (40% boost in searching min-max long in 1GB file) with mapped long as a replacement to LongBuffer. The work is not finished. I have adopted G1, c1 and c2, but I have got mainly stable solution (or I think so).
I see three possible benefits of shared memory:
1. Shared memory and interprocess communication.
2. Mapping large files.
3. Aggressive inter-JVM string de-duplication.
I’m looking for sponsorship for this change, with some guidelines how I can move forward with possible adoption into JDK. If solution would be viable, I would like to open JSR for JDK API modification.
I use https://bitbucket.org/radoslaw_smogura/java-shared-memory/wiki/Home as umbrella repo, but I don’t update it quite often.
Thanks in advance,
More information about the valhalla-dev