Details
-
New Feature
-
Resolution: Done
-
Major
-
None
-
All
-
GreenHopper Ranking:0|i2z27n:
-
9223372036854775807
-
Small
-
To be defined
Description
Without classes caching in ConfigurableClassLoader, we encounter very slow execution for signed jar classes.
This ticket allows specifying class that we want to force caching.
Resolution selected:
When using ConfigurableClassLoader (tccl) define a system property named talend.tccl.cacheable.classes which contains a list of cacheables classes prefixes separated by ,.
Sample
System.setProperty("talend.tccl.cacheable.classes", "org.apache.ziplock.JarLocation,com.ctc.wstx.stax");
When this property is set all classes starting by the prefixes will be cacheables. Ie:
- org/apache/ziplock/JarLocation.class will use cache.
- org/apache/ziplock/Archive.class will NOT use cache.