Closed itsdax closed 4 years ago
Update:
Using SmoothieMap.<Node, Object>newBuilder().optimizeFor(LOW_GARBAGE).build();
completely resolves the issue for me. Weird
Thanks for reporting. I think this issue should be fixed in the new version 2.0.2.
Experiencing rare CMEs on map.remove(object) with version 2.0.1 after upgrading from 1.3 The map is only within the scope of a single thread and is not being iterated.
I've added a shared lock for all put/remove/contains operations on the map but was still getting CME.
I'm making a large number of put, remove, and contains operations in a small time frame (thousands of calls in a few ms), which may be what's causing it.
Below is the exception. I'll pull up a snippet for reproducing this issue once I get the chance. The test cases I made was not able to reproduce this issue. I may have to create a subset of my original data set for this.
Using jdk1.8.0_231