Re: Deadlock issue

Daniel López <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
Hi,

Of course, keep us informed. Glad to be of help.

El 20/04/2012 14:33, Daniel Dekany escribió:
>> So then can it still occur that a Groovy-script-class is reloaded even
>> if the script wasn't modified, only not so often?

Yeah, usually because you are actually not using "classes" but scripts, 
which Groovy compiles to classes the first time they are used... per 
ScriptEngine object. So, if you don't store the object used to 
load/compile the scripts properly, then you are actually compiling the 
scripts each time, hence the new classes.

It's a common issue when dealing with scripting languages and it bit me 
in the rear in the past, that's why I remember it :).

S!
D.

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.