[ https://issues.apache.org/jira/browse/SOLR-6638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14178403#comment-14178403 ]
Uwe Schindler commented on SOLR-6638: ------------------------------------- Please don't use unsafe! Use ByteBuffer.allocateDirect(). This is enough to serve a cache. In Java 7 and Java 8 the ByteBuffer overhead is minimal (look at the assembler code generated by Hotspot). > Create an off-heap implementation of Solr caches > ------------------------------------------------ > > Key: SOLR-6638 > URL: https://issues.apache.org/jira/browse/SOLR-6638 > Project: Solr > Issue Type: New Feature > Reporter: Noble Paul > > There are various implementations of off-heap implementations of cache. One > such is using sun.misc.Unsafe .The cache implementations are pluggable in > Solr anyway -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org