On Tue, 14 Mar 2023 10:06:47 GMT, Tejesh R <[email protected]> wrote: > The issue is intermittent and was not able to reproduce it. Though through > code analysis and bug reported logs, the issue seems to be in COM thread of > `FilesLoader` class in `BasicDirectoryModel` file. Looks like there are > certain places where the `filecache` variable isn't thread-safe, and this fix > address the issue. > Mach5 test runs are fine, no regressions were found.
As per java/util/ConcurrentModificationException spec `this exception does not always indicate that an object has been concurrently modified by a different thread. If a single thread issues a sequence of method invocations that violates the contract of an object, the object may throw this exception. For example, if a thread modifies a collection directly while it is iterating over the collection with a fail-fast iterator, the iterator will throw this exception. ` so we should also see the sequence of operations on `fileCache` ------------- PR: https://git.openjdk.org/jdk/pull/13012
