Re: ThreadLocal in SegmentReader

2008-07-13 Thread Roman Puchkovskiy
Oops, sent too early, excuse me :) One more to say: yes, Yonik is correct. Values remain strong-referenced until the stale values are removed from the table. Just a quote from the ThreadLocals' javadoc: "However, since reference queues are not used, stale entries are guaranteed to be removed only

Re: ThreadLocal in SegmentReader

2008-07-13 Thread Roman Puchkovskiy
Looks fine, and there's the only problem: all this does not work. Possibly, this is JVM issue, possibly, there's another reason, but when I reproduce the described situation with the web-app, its classloader cannot be unloaded, and the profiler shows that the cause is that ThreadLocal. When I appl

[jira] Commented: (LUCENE-1282) Sun hotspot compiler bug in 1.6.0_04/05 affects Lucene

2008-07-13 Thread Paul Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613208#action_12613208 ] Paul Smith commented on LUCENE-1282:  Can anyone comment as to whether the JRE 1.6.04+

Re: Hadoop RPC for distributed Lucene

2008-07-13 Thread Jason Rutherglen
In terms of a grid system for Lucene. One model that might be compelling is using a Hadoop RPC + Serialization system to implement both the Searchable side and an Indexing side. I personally think it would be interesting to implement code mobility like Jini and RMI for Lucene. This would have se