-
-
Notifications
You must be signed in to change notification settings - Fork 214
[WIP] perf: use rwlock for scope data access #1877
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Open
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
f197880
refactor(scope): hide direct data access
jpnurmi ffa73f7
WIP: observers
jpnurmi 56f7f07
feat(sync): add platform rwlock primitive
jpnurmi 47bba26
refactor(sync): make rwlock operations inline
jpnurmi aa0be8f
refactor(scope): guard simple fields with rwlock
jpnurmi ba2a876
refactor(scope): retain user and fingerprint values safely
jpnurmi 6ff86c0
refactor(scope): store string fields as values
jpnurmi 9a2b29a
refactor(scope): move locked payload into scope data
jpnurmi 0828f8f
refactor(scope): hide direct scope data access
jpnurmi 813b7b0
ref containers
jpnurmi d9ba2a8
breadcrumbs
jpnurmi 9e3bbba
trace_context
jpnurmi e821d6e
propagation_context
jpnurmi 2949eec
dsc
jpnurmi 16b07d8
span/transaction_object
jpnurmi 41717ae
restore
jpnurmi 768a86a
lock observers
jpnurmi b3a38df
finally :D
jpnurmi 61892ba
fix formatting
jpnurmi bc99dba
fix(scope): Keep global scope alive during access
jpnurmi 8b02357
restore locks for attachments
jpnurmi 2629b07
clone (cow) attachments guard against concurrent modifications
jpnurmi f70a7c6
clean up
jpnurmi fbbfaae
fix concurrent init
jpnurmi 25a7e0c
breadcrumbs: fix use-after-free
jpnurmi f16f103
fix(attachments): Notify backends through scope observers
jpnurmi abcc49d
fix cleanup_observers
jpnurmi 135c53c
load
jpnurmi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.