Remove unnecessary class-level synchronized in ManifestFiles
It was guarding CONTENT_CACHES access, but this field is a concurrent data structure (Caffeine) and does not need external synchronization.
@rizaon am i thinking about this right?
Sorry for the late review on this @findepi , I was going through https://github.com/apache/iceberg/pull/10494 and trying to understand more about this path and saw this change as well. This particular change seems very safe to me since Caffeine already is threadsafe with respect to a given key. We don't a lock around manipulating the data structure, multiple threads can perform the dropCache and it'll be fine.
good point, @amogh-jahagirdar thank you @amogh-jahagirdar @Fokko for review and merge!