Commit 8d5c038
Fix SpotBugs: suppress AT_NONATOMIC warnings for owner-thread fast path
SpotBugs flags *Impl methods in OptimizedTagMap for non-atomic access to
the `size` and `frozen` fields. These methods run either on the owner
thread (lock-free by design) or inside synchronized(this) via reentrant
calls. Also fix null-safe containsValue using Objects.equals.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 33c13e8 commit 8d5c038
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
1285 | 1286 | | |
1286 | 1287 | | |
1287 | 1288 | | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
1288 | 1294 | | |
1289 | 1295 | | |
1290 | 1296 | | |
| |||
0 commit comments