Request for Review: 7094995: test/java/util/zip/ZipFile/ClearStaleZipFileInputStreams.java causes continuous GC in agentvm mode
Alan.Bateman at oracle.com
Wed Nov 23 08:23:15 UTC 2011
On 22/11/2011 19:09, Chris Hegarty wrote:
> Right, and I was proposing that any threads created by the test be
> interruptible and be able to terminate in a timely manner.
> I don't think in this case throwing from the catch block of IE is
> necessary, just that the thread terminate quickly. It is not relevant
> to the testing of the original bug. Make sense?
No problem having this thread terminate if interrupted but this should
only happen if the test hangs or somehow completes without invoking the
shutDown method. In general we can't require that all threads created by
tests terminate quickly when interrupted (it's just not feasible).
More information about the core-libs-dev