[jira] [Updated] (LUCENE-3867) RamUsageEstimator.NUM_BYTES_ARRAY_HEADER is incorrect

2012-03-16 Thread Uwe Schindler (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-3867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-3867: -- Attachment: LUCENE-3867.patch With the help of Dawid (inspecting forbidden C code *g*), we

[jira] [Updated] (LUCENE-3867) RamUsageEstimator.NUM_BYTES_ARRAY_HEADER is incorrect

2012-03-16 Thread Uwe Schindler (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-3867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-3867: -- Attachment: LUCENE-3867.patch Updated patch with the abstract and now useless MemoryModel

[jira] [Updated] (LUCENE-3867) RamUsageEstimator.NUM_BYTES_ARRAY_HEADER is incorrect

2012-03-15 Thread Uwe Schindler (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-3867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-3867: -- Attachment: LUCENE-3867.patch Hi, here new patch using Unsafe to get the bitness (with the

[jira] [Updated] (LUCENE-3867) RamUsageEstimator.NUM_BYTES_ARRAY_HEADER is incorrect

2012-03-15 Thread Shai Erera (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-3867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shai Erera updated LUCENE-3867: --- Attachment: LUCENE-3867.patch Thanks Uwe ! I ran the test, and now with both J9 (IBM) and Oracle,

[jira] [Updated] (LUCENE-3867) RamUsageEstimator.NUM_BYTES_ARRAY_HEADER is incorrect

2012-03-15 Thread Shai Erera (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-3867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shai Erera updated LUCENE-3867: --- Attachment: LUCENE-3867.patch Ok removed sizeOf(Object[]). One can compute it by using

[jira] [Updated] (LUCENE-3867) RamUsageEstimator.NUM_BYTES_ARRAY_HEADER is incorrect

2012-03-14 Thread Uwe Schindler (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-3867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-3867: -- Attachment: LUCENE-3867-compressedOops.patch Here the patch for detecting compressesOops in

[jira] [Updated] (LUCENE-3867) RamUsageEstimator.NUM_BYTES_ARRAY_HEADER is incorrect

2012-03-14 Thread Shai Erera (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-3867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shai Erera updated LUCENE-3867: --- Attachment: LUCENE-3867.patch Patch adds RUE.sizeOf(String) and various sizeOf(arr[]) methods. Also

[jira] [Updated] (LUCENE-3867) RamUsageEstimator.NUM_BYTES_ARRAY_HEADER is incorrect

2012-03-14 Thread Uwe Schindler (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-3867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-3867: -- Attachment: LUCENE-3867.patch Hi Shai, can ypou try this patch with J9 or maybe JRockit