leerho commented on issue #270:
URL: 
https://github.com/apache/datasketches-memory/issues/270#issuecomment-3825918027

   We tried MR-JARs and Java Modules with ds-memory release 3.02, which 
supports Java 8, 11. But it was an absolute nightmare.  At the time the issue 
wasn't with Java, per se, it was the lack of tools support: Eclipse, Intellij, 
etc.  Also, the MR-JAR, from a design point of view, is not very flexible.
   
   But there is another problem.  In order to release ds-memory on Java 17 and 
still leverage off-heap memory, I had to use JVM flags 
"--add-modules=jdk.incubator.foreign" and on Java 21 I had to use 
"--enable-preview" for access to the early versions of FFM -- and those 
incubators and previews are no longer supported (or even available?).  
   
   So the only thing that might be possible would be a MR-JAR for Java 8 or 11 
and 25. And if you don't actually use the off-heap memory functions, the Java 
8/11 version will work on Java 17.  It might work on 21, but I haven't tried.
   
   Perhaps the tools support has gotten better, but I am the only one doing 
this kind of work, and I don't have the time or the energy to go back and do 
this.  If someone was willing to contribute this it would be great.  But, trust 
me, it is a lot of work.
   
    


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to