Skip to content

Commit e0d33b5

Browse files
fix(syncmap): rework locking to include a version and update tables on achieved instead of finalized
1 parent dfe47cc commit e0d33b5

File tree

4 files changed

+630
-594
lines changed

4 files changed

+630
-594
lines changed

collections-fastutil/src/jmh/java/space/vectrix/sync/collections/fastutil/Int2ObjectSyncMapBenchmark.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public void setup() {
8686

8787
if(this.prime) {
8888
if(this.map instanceof final Int2ObjectSyncMap<Integer> syncMap) {
89-
syncMap.promote();
89+
syncMap.promote(true);
9090
} else {
9191
for(int i = 0; i < this.size; i++) {
9292
this.map.get(i);

0 commit comments

Comments
 (0)