RFR: 8307091: Few test threw ConcurrentModificationException Intermittently

Damon Nguyen dnguyen at openjdk.org
Thu May 4 02:16:14 UTC 2023


On Wed, 3 May 2023 16:13:53 GMT, Tejesh R <tr at openjdk.org> wrote:

> Few test are throwing Concurrent Modification Exception Intermittently. Since the issue is intermittent and from the log and code review, It is found that the shared variable `fileCache` is used in comparison with the `newFileCache` where the comparison invokes the iterator method in AbstractList class. Since based on vector documentation it was evident that listIterator are fail-fast iterators and hence it would be better to make a separate local copy of vectors for comparing operations. 
> The same is implemented and tested in CI system which shows green.

Marked as reviewed by dnguyen (Committer).

Looks like there's a title mismatch blocking you from integrating but changes LGTM.

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

PR Review: https://git.openjdk.org/jdk/pull/13783#pullrequestreview-1412167729
PR Comment: https://git.openjdk.org/jdk/pull/13783#issuecomment-1533986428



More information about the client-libs-dev mailing list