On 2/09/2022 7:59 pm, Andrea Del Bene wrote:
In addition I think setMetaData should always return a new copy of Application#metadata to ensure a proper synchronization among threads, but I'm not 100% sure about this.
In scenarios where the method is called at high frequency is it possible that the extra memory allocation to create copies and the consequential GC burden to free them up again offset any benefit gained by removing the synchronization?