diff options
author | Laura Hamelin <haowl@google.com> | 2024-11-06 13:41:30 -0800 |
---|---|---|
committer | Laura Hamelin <haowl@google.com> | 2024-11-08 09:14:15 -0800 |
commit | a7b5f056d8ff68a0df8968fdd10d3f7faa66d290 (patch) | |
tree | 1faaf137fa04ca3ba42a3c996d7bf55ef5b0c212 /org.eclipse.jgit.test/org.eclipse.jgit.core--All-Tests (Java 17).launch | |
parent | b2accb0e9c07fa40fa9d7bf266a5763a1f63cc90 (diff) | |
download | jgit-a7b5f056d8ff68a0df8968fdd10d3f7faa66d290.tar.gz jgit-a7b5f056d8ff68a0df8968fdd10d3f7faa66d290.zip |
DfsBlockCacheConfig: propagate hotmap configs to pack ext cache configs
CacheHotMap is currently only set on the base DfsBlockCacheConfig and is
not propagated down to PackExt specific caches.
Because CacheHotMap is set from a method call rather than from Configs,
this change sets per-PackExt CacheHotMap configs on PackExt cache
configs both when DfsBlockCacheConfig#setCacheHotMap(...) is called, and
when DfsBlockCacheConfig#configure(...) is called after setCacheHotMap.
The outer DfsBlockCacheConfig keeps the full CacheHotMap for the same
reason that the CacheHotMap config is propagated in both setCacheHotMap
and configure: the order of operations setting the configuration from
Configs and calling setCacheHotMap is not guaranteed.
Change-Id: Id9dc32fedca99ecc83c9dc90c24d9616873a202e
Diffstat (limited to 'org.eclipse.jgit.test/org.eclipse.jgit.core--All-Tests (Java 17).launch')
0 files changed, 0 insertions, 0 deletions