Corrected the thread safety problem on the LFUCache