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
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
[
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+
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