[
https://issues.apache.org/jira/browse/CLEREZZA-320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919180#action_12919180
]
Reto Bachmann-Gmür commented on CLEREZZA-320:
---------------------------------------------
see
http://svn.apache.org/viewvc/incubator/clerezza/trunk/scala-scripting/script-engine/src/main/scala/org/apache/clerezza/scala/scripting/ScriptEngineFactory.scala?view=markup
line 257
the class is loaded on every execution, the problem is that caching the
classloader leeds to a "java.lang.NoClassDefFoundError:
sun/reflect/MethodAccessorImpl" (in /test/render-ssp)
> SSP rendering is slow:
> scala.tool.nsc.interpreter.AbstractFileClassLoader.findClass needs a lot of
> time to be executed
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: CLEREZZA-320
> URL: https://issues.apache.org/jira/browse/CLEREZZA-320
> Project: Clerezza
> Issue Type: Bug
> Environment: in netbeans, during cpu profiling exclude all java core
> classes
> Reporter: Tsuyoshi Ito
> Priority: Blocker
> Attachments: org.clerezza.test.render.zip, page_reuest_wo_javacore.png
>
>
> during profiling session we detected that rendering ssp is very slow. A lot
> of time is used to execute
> scala.tool.nsc.interpreter.AbstractFileClassLoader.findClass. Seems that each
> execution the classes are (re)loaded. IMO this should not be the case.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.