Re: Groovy compiler configuration BytecodeProcessor

2017-03-30 Thread Cherif Gouiaa
OK. Thanks for the (fast) response. Actually, I just need to confirm that there is no way to limit the amount of memory which a sandboxed groovy script will use. (By the way, the sandbox is based on your blog post )... 2017-03-30 13:18 GMT+01:0

Re: Groovy compiler configuration BytecodeProcessor

2017-03-30 Thread Cédric Champeau
It can be used for various purposes: dumping the generated bytecode, post-processing it (to avoid runtime instrumentation), storing generated bytecode on disk, ... As for memory size a groovy script will allocate, this statement is too blury: the only thing you can measure is the size of the genera

Groovy compiler configuration BytecodeProcessor

2017-03-30 Thread Cherif Gouiaa
What is the exact role of a BytecodeProcessor when used in a org.codehaus.groovy.control.CompilerConfiguration. Can I rely on it to measure the memory size which a groovy script will allocate. (i.e. original.length) ? -- *Cherif Gouiaa* Ingenieur de developpement [image: logo] --