Created attachment 192364 [details] New port java/ohc shar archive New port for OHC, an off-heap cache library for Java. It was originally developed for and is still used by the Cassandra database. WWW: https://github.com/snazy/ohc
Newest version is 0.7.0
Hi Nathan, The raison d'être for this port is to provide a jar for Cassandra: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226377 The Cassandra port is currently v3.11.2, which uses OHC v0.4.4. Angelo
If anyone wants to use or test the port, for now you can manually download the Maven repository "ohc-0.4.4-maven-repository.tar.gz" to /usr/ports/distfiles from here: https://drive.google.com/open?id=1vmp3R_BfYC0XtsRIB4nCzhIBCADolHwc
Since this is an older version useful only for Cassandra, it might make sense to include it directly into cassandra's port for its own usage? (recent Cassandra 3.11.5 still points to OHC 0.4.4)
(In reply to Lapo Luchini from comment #4) Could do, but I see that as more work for less benefit. Cassandra's HEAD uses v0.5.1, so I'll be updating this port for Cassandra 4.0 when it's released. Can also submit a version 0.7.0 so anyone using it independently of Cassandra will have the latest and greatest. In the words of the creators (https://github.com/snazy/ohc/#history): "OHC was developed in 2014/15 for Apache Cassandra ... But it turned out that OHC alone might also be usable for other projects - that's why OHC is a separate library."
Created attachment 215236 [details] Shar archive for v0.7.0 Updated for v0.7.0. Tested on Java 8 and 11, amd64 and i386. Tested with databases/cassandra4. Maven repository: https://drive.google.com/uc?id=1H2tUDo70LCW_BPtEmwDyupJTIFvcqYxB
By any chance, was this also tested with PR 250167 (version 4.0-beta2)?
(In reply to Lapo Luchini from comment #7) This hasn't been tested with the update in bug #250167 yet.
New releases of Cassandra might (drop Java8) and depend on OHC 0.7.4 instead of 0.5.1. https://issues.apache.org/jira/projects/CASSANDRA/issues/CASSANDRA-18799 https://github.com/apache/cassandra/pull/2636
Closing due to lack of interest.