Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
JDK-6968196 leads to significant performance degradation, one of the customer reported that his application startup time is increased in 7 times! After JDK-6968196 deploy starts to check resources existence too often. This protects us from very corner case and this protection doesn't absolute, for example MemoryCache checks file for existence and then return CacheEntry to invoker and right after this we can remove file and get FileNotFoundException. Seems that fix is needed very rarely while it brings significant performance problems. To fix this we need to remember a set of checked resources in MemoryCache and reset it on every applet startup.
|