You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2014/02/20 16:45:22 UTC
[jira] [Created] (LUCENE-5463) Make
RamUsageEstimator.(human)sizeOf(Object) a forbidden API
Adrien Grand created LUCENE-5463:
------------------------------------
Summary: 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
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org