-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ConcurrentDictionary in JsonFormatter (#14272)
I have a theory that the lock in `JsonFormatter` periodically causes this VS debugging error for Protobuf types: ![image](https://github.com/protocolbuffers/protobuf/assets/303201/64097805-67ab-43fe-a4a0-77ec4590844d) Hopefully `ConcurrentDictionary` resolves this issue. Even if it doesn't, this change still resolves the TODO so this is a good improvement. Closes #14272 COPYBARA_INTEGRATE_REVIEW=#14272 from JamesNK:jamesnk/concurrentdictionary 6ec3ebc PiperOrigin-RevId: 570439102
- Loading branch information
Showing
1 changed file
with
9 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters