RFR: 8323670: A few client tests intermittently throw ConcurrentModificationException

Sergey Bylokhov serb at openjdk.org
Fri Jan 26 23:00:24 UTC 2024


On Fri, 19 Jan 2024 07:24:14 GMT, Tejesh R <tr at openjdk.org> wrote:

> I don't think we are able to trace it out, since the issue intermittent and previously I had made a copy of the vector list before checking for equality of the list. There was again an issue in the code which I used to copy to a temporary vector. So now instead of using` AbstractList.equals` I'm using iterators and comparing every element within synchronized method.

I think we should start investigating this one, probably by adding special delays/asserts into the JDK to track down on what threads the data is modified and used.

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

PR Comment: https://git.openjdk.org/jdk/pull/17462#issuecomment-1912802507


More information about the client-libs-dev mailing list