[
https://issues.apache.org/jira/browse/LUCENE-6239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14316128#comment-14316128
]
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. We just call some methods to retrieve some values from the
JVM internal - there is no risk (it just may fail to get the value).
{quote}
We don't even need to debate this. This is absurdly risky. Just look at the
conversation you are having. We don't need this in a search engine library.
> 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]