You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Uwe Schindler (Jira)" <ji...@apache.org> on 2020/08/10 17:19:00 UTC
[jira] [Comment Edited] (LUCENE-2822) TimeLimitingCollector starts
thread in static {} with no way to stop them
[ https://issues.apache.org/jira/browse/LUCENE-2822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17174930#comment-17174930 ]
Uwe Schindler edited comment on LUCENE-2822 at 8/10/20, 5:18 PM:
-----------------------------------------------------------------
In addition, the extra thread will soon be no issue anymore (the new thread impl coming with later java versions) - also known as fibers.
was (Author: thetaphi):
In addition, the extra thread will soon be no issue anymore (the new thread impl coming with later java versions).
> TimeLimitingCollector starts thread in static {} with no way to stop them
> -------------------------------------------------------------------------
>
> Key: LUCENE-2822
> URL: https://issues.apache.org/jira/browse/LUCENE-2822
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Robert Muir
> Assignee: Simon Willnauer
> Priority: Major
> Fix For: 3.5, 4.0-ALPHA
>
> Attachments: LUCENE-2822.patch, LUCENE-2822.patch, LUCENE-2822.patch, LUCENE-2822.patch
>
>
> See the comment in LuceneTestCase.
> If you even do Class.forName("TimeLimitingCollector") it starts up a thread in a static method, and there isn't a way to kill it.
> This is broken.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org