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

Uwe Schindler edited comment on LUCENE-6239 at 2/11/15 3:50 PM:
----------------------------------------------------------------

It is cleaner with Java 8 and Java 9. The reference size in Java 7 was just 
horrible to detect, because IBM J9 did not have hotspot bean. So the Unsafe 
approach was cleaner at that time. The remaining constants would be just simple 
static values, only dependend on bitness.


was (Author: thetaphi):
It is cleaner with Java 8 and Java 9. The reference size in Java 7 was just 
horrible to detect, because IBM J9 did not have hotspot bean. So the Unsafe 
approach was cleander. The remaining constants would be just simple static 
values, only dependend on bitness.

> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to