It is a bit convoluted, indeed, but AFAIK, it is using the cache
and working fine. The cache is populated here:
https://github.com/droolsjbpm/drools/blob/master/drools-compiler/src/main/java/org/drools/compiler/kie/builder/impl/AbstractKieModule.java#L301
It is set here:
Hi Edson,
now I figured that out!
Thanks for your patience :)
Federico.
On 07/08/2014 02:13 PM, Edson Tirelli wrote:
It is a bit convoluted, indeed, but AFAIK, it is using the cache
and working fine. The cache is populated here:
Federico,
Not sure why you say it is not used?
Drools tries to use any pre-compiled resource bytecode if it is
available in the cache. If it is not available, it falls back to JIT
compilation:
Hi Edson,
yes I saw that the JavaDialect class retrieve the compilation cache from
the conf, but after a quick search it seems no one use the
setCompilationCache method of KnowledgeBuilderConfigurationImpl, not
even in the tests. So I was wondering what was the best way to use it...
Maybe I
Hi,
from what I see, the protobuf cache that the KnowledgeBuilder produce
and saves as *.cache, is not currently used anywhere, right? If so, what
would it be required to reload the compilation data inside the
KnowledgeBuilder? There's something I'm missing or there is some piece
of code