Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ben-manes/caffeine
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.9.2
Choose a base ref
...
head repository: ben-manes/caffeine
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.9.3
Choose a head ref
  • 12 commits
  • 45 files changed
  • 1 contributor

Commits on Jul 2, 2021

  1. Release 2.9.2

    ben-manes committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    6ad6433 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2021

  1. 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
    ben-manes committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    13af13c View commit details
    Browse the repository at this point in the history
  2. run isolatedTests on ci

    ben-manes committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    0f1692d View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2021

  1. 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.
    ben-manes committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    102011d View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2021

  1. Configuration menu
    Copy the full SHA
    1afd872 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2021

  1. Configuration menu
    Copy the full SHA
    1eed56b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    76349c2 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2021

  1. Configuration menu
    Copy the full SHA
    58bfc14 View commit details
    Browse the repository at this point in the history
  2. Shutdown the executor and wait for in-flight loads in JCache close

    This matches the RI's behavior which is best effort.
    ben-manes committed Dec 1, 2021
    Configuration menu
    Copy the full SHA
    7bcfe81 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    336ef93 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2021

  1. Configuration menu
    Copy the full SHA
    8c7160d View commit details
    Browse the repository at this point in the history
  2. Clarify the behavior of getAll if additional keys are loaded

    This is already documented on the cache loaders for their bulk
    loading methods:
    ```
    If the returned map contains extra keys not present in {@code keys}
    then all returned entries will be cached, but only the entries for
    {@code keys} will be returned from {@code getAll}.
    ```
    ben-manes committed Dec 2, 2021
    Configuration menu
    Copy the full SHA
    05a040c View commit details
    Browse the repository at this point in the history
Loading