[ 
https://issues.apache.org/jira/browse/LUCENE-6239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14316133#comment-14316133
 ] 

Robert Muir commented on LUCENE-6239:
-------------------------------------

{quote}
In any case, Unsafe is not used here to modify anything so there is nothing 
that can crush, we dont write bytes to non-aligned positions like Netty does 
and fails on Sparc.
{quote}

You only need to read to crash, if the architecture does not support unaligned 
access. The fact you don't know this, scares me, that you are also trying to 
write and defend sun.misc.unsafe code.

> Remove RAMUsageEstimator Unsafe calls
> -------------------------------------
>
>                 Key: LUCENE-6239
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6239
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>
> This is unnecessary risk. We should remove this stuff, it is not needed here. 
> We are a search engine, not a ram calculator.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to