Skip to content
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

Synchronize Target Node #1534

Merged
merged 1 commit into from
Dec 27, 2024
Merged

Conversation

laeubi
Copy link
Contributor

@laeubi laeubi commented Dec 27, 2024

The org.eclipse.pde.internal.genericeditor.target.extension.model.Node is accessed in a concurrent way but its internal implementation uses unsynchronized mutator methods.

This add synchronized to all methods and copy internal datastructures to make the class at least concurrent-safe and prevent unsyncronized data structures to escape the scope of a node.

The org.eclipse.pde.internal.genericeditor.target.extension.model.Node
is accessed in a concurrent way but its internal implementation uses
unsynchronized mutator methods.

This add synchronized to all methods and copy internal datastructures to
make the class at least concurrent-safe and prevent unsyncronized data
structures to escape the scope of a node.
@laeubi laeubi force-pushed the syncronize_target_node branch from 3eef160 to 0960d93 Compare December 27, 2024 12:48
Copy link

Test Results

   285 files  ±0     285 suites  ±0   55m 23s ⏱️ + 3m 12s
 3 586 tests ±0   3 510 ✅ ±0   76 💤 ±0  0 ❌ ±0 
10 950 runs  ±0  10 719 ✅ ±0  231 💤 ±0  0 ❌ ±0 

Results for commit 0960d93. ± Comparison against base commit 0b123e0.

@laeubi
Copy link
Contributor Author

laeubi commented Dec 27, 2024

Only network issues.

@laeubi laeubi merged commit b127fb1 into eclipse-pde:master Dec 27, 2024
15 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant