On Wed, 13 Mar 2024 15:57:55 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:

> > If this makes that CCME go away I'll be pleased.
> 
> @prrace CCME is already gone, Tejesh and I resolved it under 
> [JDK-8323670](https://bugs.openjdk.org/browse/JDK-8323670) in #17462.
 
The `BasicDirectoryModel/ConcurrentModification.java` test in #18109 usually 
failed with `OutOfMemoryError` on Windows because too many background threads 
were created and they couldn't complete contending on the COM thread. I saw 
more than 100 `BasicDirectoryModel.FilesLoader` threads in the debugger.

With this fix, the test passes without OOME on Windows. At each given time, 
there's no more than one background thread loading the list of files.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/18111#issuecomment-1995019580

Reply via email to