Integrated: 8307091: A few client tests intermittently throw ConcurrentModificationException
Tejesh R
tr at openjdk.org
Thu May 4 04:57:15 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.
This pull request has now been integrated.
Changeset: 465bdd9e
Author: Tejesh R <tr at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/465bdd9e416cacc6cc7dd91a29cc84adf2eaf1ed
Stats: 18 lines in 1 file changed: 8 ins; 2 del; 8 mod
8307091: A few client tests intermittently throw ConcurrentModificationException
Reviewed-by: prr, dnguyen
-------------
PR: https://git.openjdk.org/jdk/pull/13783
More information about the client-libs-dev
mailing list