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

Uwe Schindler commented on LUCENE-6239:
---------------------------------------

I agree with Dawid! If Robert would not be so pessimistic and actually make us 
be "the bad" guys, I would be happy to talk with him.

I am already validating most stuff and how we use the constants. We are indeed 
moving away from places where the actual values are relevant. The reference 
size is one of those that is actually relevant. And this one is just one Unsafe 
call to an informational method. The other ones just compare offset values - in 
any case there is nowhere any read/write to memory done. It is just calling 
some methods in a safe way. So I just have a problem with Robert's way of 
communicating this. We all know Robert, but I just prefer to not be called a 
guy who does not have an idea about memory models.

> 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