LouMeou
2014-12-10 16:04:43 UTC
Hi all,
we embedd groovy (version 2.3.8) to our java application to customize it and
manage business rules.
To do this, more than 100 scripts have been created.
When the application starts, we can /[optionnally]/ pre-compile the whole
scripts.
This is done by our service, by many threads.
It works (I mean all scripts are compiled)
but I notice (using /visualVM/ for example) threads are waiting/are blocked
by the *GroovyClassLoader#parseClass* method.
It looks like coming from /source cache management/, a feature we do not use
in our application.
Note: FYI, the main method we used is
Maybe this is wanted ? necessary ?
Does anybody know how to bypass this ?
Thanks for any help (and sorry for my English !)
Nicolas
--
View this message in context: http://groovy.329449.n5.nabble.com/GroovyClassLoader-why-parseClass-method-is-synchronized-tp5721886.html
Sent from the groovy - dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
we embedd groovy (version 2.3.8) to our java application to customize it and
manage business rules.
To do this, more than 100 scripts have been created.
When the application starts, we can /[optionnally]/ pre-compile the whole
scripts.
This is done by our service, by many threads.
It works (I mean all scripts are compiled)
but I notice (using /visualVM/ for example) threads are waiting/are blocked
by the *GroovyClassLoader#parseClass* method.
It looks like coming from /source cache management/, a feature we do not use
in our application.
Note: FYI, the main method we used is
Maybe this is wanted ? necessary ?
Does anybody know how to bypass this ?
Thanks for any help (and sorry for my English !)
Nicolas
--
View this message in context: http://groovy.329449.n5.nabble.com/GroovyClassLoader-why-parseClass-method-is-synchronized-tp5721886.html
Sent from the groovy - dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email