-
Notifications
You must be signed in to change notification settings - Fork 134
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
Fix concurrency issue in LazilyConfiguredMapping #2268
Conversation
Generate changelog in
|
private final List<LazyValues<K, V, A>> values = new ArrayList<>(); | ||
|
||
@GuardedBy("this") | ||
private final Map<K, Optional<V>> computedValues = new HashMap<>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Considered swapping to a ConcurrentHashmap which handles nested mutations more gracefully, however that's not expected to happen (and isn't related to this issue).
Released 4.134.0 |
###### _excavator_ is a bot for automating changes across repositories. Changes produced by the roomba/latest-baseline-oss check. # Release Notes ## 4.132.0 | Type | Description | Link | | ---- | ----------- | ---- | | Improvement | Safety analysis checks superinterfaces (in addition to superclasses) | palantir/gradle-baseline#2267 | ## 4.133.0 | Type | Description | Link | | ---- | ----------- | ---- | | Fix | More lazily acquire JDK storage locations | palantir/gradle-baseline#2263 | ## 4.134.0 | Type | Description | Link | | ---- | ----------- | ---- | | Fix | Fix concurrency issue in LazilyConfiguredMapping | palantir/gradle-baseline#2268 | To enable or disable this check, please contact the maintainers of Excavator.
==COMMIT_MSG==
Fix concurrency issue in LazilyConfiguredMapping
==COMMIT_MSG==