-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Comparing changes
Open a pull request
base repository: ben-manes/caffeine
base: v2.9.2
head repository: ben-manes/caffeine
compare: v2.9.3
- 12 commits
- 45 files changed
- 1 contributor
Commits on Jul 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6ad6433 - Browse repository at this point
Copy the full SHA 6ad6433View commit details
Commits on Jul 5, 2021
-
Stronger memory-order when setting a weak/soft value
The plain write to the value piggybacked on the volatile fence when the lock is released for guaranteed visibility. However, we should not assume that visibility is delayed until this fence, as the underlying system may inject a fence earlier (e.g. safepont, context switch). As the compiler may change program order for plain reads and writes, those cases must ensure that there are no dependencies for partial visibility. While true for strong values, the change in a1a5de8 shows a dependency order is needed for weak/soft values. For stricter correctness, clearing the Reference must occur after the entry's value has been visibly changed. Therefore, the release/acquire ordering is used to ensure we abide by the Java Memory Model, rather than on x86's total store order (TSO). For more details, see http://gee.cs.oswego.edu/dl/html/j9mm.html
Configuration menu - View commit details
-
Copy full SHA for 13af13c - Browse repository at this point
Copy the full SHA 13af13cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f1692d - Browse repository at this point
Copy the full SHA 0f1692dView commit details
Commits on Jul 26, 2021
-
Reduce entry overhead by 8 bytes when using weak/soft values
The entry stored the key for normal operations and lifecycle encoding. The value reference stored because it is returned by the ReferenceQueue when collected, so the eviction uses the key to remove the entry from the backing map. Instead the entry can resolve the key through the value reference rather than storing it twice.
Configuration menu - View commit details
-
Copy full SHA for 102011d - Browse repository at this point
Copy the full SHA 102011dView commit details
Commits on Oct 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1afd872 - Browse repository at this point
Copy the full SHA 1afd872View commit details
Commits on Nov 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1eed56b - Browse repository at this point
Copy the full SHA 1eed56bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 76349c2 - Browse repository at this point
Copy the full SHA 76349c2View commit details
Commits on Dec 1, 2021
-
Suppress log warning if a future is cancelled or times out (fixes #597)
Minimal backport of 1e52b10
Configuration menu - View commit details
-
Copy full SHA for 58bfc14 - Browse repository at this point
Copy the full SHA 58bfc14View commit details -
Shutdown the executor and wait for in-flight loads in JCache close
This matches the RI's behavior which is best effort.
Configuration menu - View commit details
-
Copy full SHA for 7bcfe81 - Browse repository at this point
Copy the full SHA 7bcfe81View commit details -
Do not expire in-flight async loads (fixes #625)
Backport of 7d0d903
Configuration menu - View commit details
-
Copy full SHA for 336ef93 - Browse repository at this point
Copy the full SHA 336ef93View commit details
Commits on Dec 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8c7160d - Browse repository at this point
Copy the full SHA 8c7160dView commit details -
Clarify the behavior of getAll if additional keys are loaded
Configuration menu - View commit details
-
Copy full SHA for 05a040c - Browse repository at this point
Copy the full SHA 05a040cView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v2.9.2...v2.9.3