Project

Profile

Help

Bug #2635

closed

XQuery using saxon:stream leaves open thread, when closed prematurely

Added by Gunther Rademacher about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Streaming
Sprint/Milestone:
-
Start date:
2016-02-22
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.7
Fix Committed on Branch:
9.7
Fixed in Maintenance Release:
Platforms:

Description

This is similar to Bug #2549. In fact I had already commented there, but apparently I managed to set its status to "Won't fix" (can't remember how I did that), which was meant as "the fix won't solve the problem", though. Anyway.

When reading a result from an XQuery using saxon:stream, then a thread is left over if

  • the result is closed prematurely,

  • but there is some delay between reading and closing.

The attached ThreadCountTest3 demonstrates this behaviour, piling up 100 threads in 100 iterations.


Files

ThreadCountTest3.java (3.34 KB) ThreadCountTest3.java TestNG test demonstrating left-over threads Gunther Rademacher, 2016-02-22 15:46

Please register to edit this issue

Also available in: Atom PDF