lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <>
Subject [jira] [Commented] (LUCENE-8855) Add Accountable to Query implementations
Date Tue, 25 Jun 2019 16:58:00 GMT


Adrien Grand commented on LUCENE-8855:

BytesRefHash has some code commented out that looks like a left over? One minor last concern
I have is that sizeOf without a default size feels a bit trappy since lots of objects are
larger than their shallow size. Could we make it fail if it encounters an unknown object instead
of assuming shallow size?

> Add Accountable to Query implementations
> ----------------------------------------
>                 Key: LUCENE-8855
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Andrzej Bialecki 
>            Assignee: Andrzej Bialecki 
>            Priority: Major
>         Attachments: LUCENE-8855.patch, LUCENE-8855.patch, LUCENE-8855.patch, LUCENE-8855.patch
> Query implementations should also support {{Accountable}} API in order to monitor the
memory consumption e.g. in caches where either keys or values are {{Query}} instances.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message