toUnmodifiableStruct() method not threadsafe

Description

unmodifiable structs use a non-synchronized hashmap, but the _addAll() method was using a parallel stream, so keys would sometimes get dropped. This would show up in the server scope. Stop using multi-threading in the constructor. It’s probably overkill anyway.

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Priority

Sentry

Created January 24, 2025 at 5:43 AM
Updated January 24, 2025 at 5:44 AM
Resolved January 24, 2025 at 5:44 AM