-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Fix JVM <clinit> deadlock in Cosmos SDK accessor initialization #48667
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
Closed
jeet1995
wants to merge
12
commits into
Azure:main
from
jeet1995:fix/clinit-deadlock-targeted-accessor-init
Closed
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
02898e7
Fix JVM <clinit> deadlock in Cosmos SDK accessor initialization
jeet1995 a2677fa
Fix CHANGELOG.md PR link placeholder
jeet1995 51e9932
Address PR review feedback
jeet1995 2b5a98b
Rename misnamed getCosmosAsyncClientAccessor in CosmosDiagnosticsThre…
jeet1995 973865c
Fix regression test: restore all accessors after concurrent test
jeet1995 cd14443
Fix ensureClassInitialized for recursive <clinit> self-references
jeet1995 96a042f
Address review: add missing static{initialize()} blocks, improve test
jeet1995 5e11ce7
Replace in-process test with forked-JVM deadlock test
jeet1995 06a4f83
Remove reflection from ensureClassInitialized, fix <clinit> ordering
jeet1995 4d08a9f
Fix forked JVM test for Java 8 compatibility
jeet1995 6b4f89d
chore: trigger spring-data-cosmos CI for deadlock fix validation
jeet1995 b406765
Address review: fix test hang, add enforcement test, shorten CHANGELOG
jeet1995 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
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
345 changes: 345 additions & 0 deletions
345
...-tests/src/test/java/com/azure/cosmos/implementation/ImplementationBridgeHelpersTest.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
98 changes: 59 additions & 39 deletions
98
...ure-cosmos/src/main/java/com/azure/cosmos/implementation/ImplementationBridgeHelpers.java
Large diffs are not rendered by default.
Oops, something went wrong.
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.
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.