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.
Newest version is 0.7.0
The raison d'être for this port is to provide a jar for Cassandra:
The Cassandra port is currently v3.11.2, which uses OHC v0.4.4.
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:
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."