lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] Updated: (LUCENE-750) don't use finalizers for FSIndexInput clones
Date Sat, 16 Dec 2006 15:38:22 GMT
     [ ]

Yonik Seeley updated LUCENE-750:

    Attachment: IndexInput_finalizer.patch

Forgot to remove the finalizer from FSIndexInput in the first patch.
Note that I also removed the finalizer from FSIndexOutput because IndexWriter already has
a finalizer, and finalization for writers doesn't really make much sense.

Can anyone think of a reason we should keep the FSIndexOutput finalizer?

> don't use finalizers for FSIndexInput clones
> --------------------------------------------
>                 Key: LUCENE-750
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Search
>    Affects Versions: 2.0.1
>            Reporter: Yonik Seeley
>         Assigned To: Yonik Seeley
>         Attachments: IndexInput_finalizer.patch, IndexInput_finalizer.patch
> finalizers are expensive, and we should avoid using them where possible.
> It looks like this helped to tickle some kind of bug (looks like a JVM bug?)

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


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

View raw message