[ https://issues.apache.org/jira/browse/LUCENE-5463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13911011#comment-13911011 ]
ASF subversion and git services commented on LUCENE-5463: --------------------------------------------------------- Commit 1571494 from [~jpountz] in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1571494 ] LUCENE-5463: Unbreak forbidden APIs for Solr, remove broken RUE.sizeOf(String) and add new forbidden APIs to the Maven build. > Make RamUsageEstimator.(human)sizeOf(Object) a forbidden API > ------------------------------------------------------------ > > Key: LUCENE-5463 > URL: https://issues.apache.org/jira/browse/LUCENE-5463 > Project: Lucene - Core > Issue Type: Task > Reporter: Adrien Grand > Assignee: Adrien Grand > Fix For: 4.8 > > Attachments: LUCENE-5463-2.patch, LUCENE-5463-2.patch, > LUCENE-5463.patch, LUCENE-5463.patch > > > We have had a few issues with {{RamUsageEstimator}} recently so I think we > should consider making the {{sizeOf(Object)}} and {{humanSizeOf(Object)}} > methods forbidden under src/java (however still allowed for tests as it is > handy to check the size computations which are done "manually"). However, > {{sizeOf(byte[])}}, {{shallowSizeOf(Class)}}, etc. remain useful so I think > we should keep them allowed. -- This message was sent by Atlassian JIRA (v6.1.5#6160) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org