Return-Path: Delivered-To: apmail-incubator-clerezza-dev-archive@minotaur.apache.org Received: (qmail 96893 invoked from network); 10 Oct 2010 11:58:54 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Oct 2010 11:58:54 -0000 Received: (qmail 39305 invoked by uid 500); 10 Oct 2010 11:58:54 -0000 Delivered-To: apmail-incubator-clerezza-dev-archive@incubator.apache.org Received: (qmail 39257 invoked by uid 500); 10 Oct 2010 11:58:53 -0000 Mailing-List: contact clerezza-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: clerezza-dev@incubator.apache.org Delivered-To: mailing list clerezza-dev@incubator.apache.org Received: (qmail 39247 invoked by uid 99); 10 Oct 2010 11:58:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Oct 2010 11:58:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Oct 2010 11:58:51 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9ABwUfv006040 for ; Sun, 10 Oct 2010 11:58:31 GMT Message-ID: <22831154.65211286711910839.JavaMail.jira@thor> Date: Sun, 10 Oct 2010 07:58:30 -0400 (EDT) From: "Karl Pauls (JIRA)" To: clerezza-dev@incubator.apache.org Subject: [jira] Commented: (CLEREZZA-320) SSP rendering is slow: scala.tool.nsc.interpreter.AbstractFileClassLoader.findClass needs a lot of time to be executed In-Reply-To: <8884726.37171286518531006.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLEREZZA-320?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12= 919595#action_12919595 ]=20 Karl Pauls commented on CLEREZZA-320: ------------------------------------- @Hasan, there are certain cases where classes from the outside expect that = they can use any classloader to get to outside classes (e.g., swing). Thats= why we have a magic bootdelegation in felix that detects these cases and b= ootdelegates automagically. This is one of the cases and I fixed it in the = issue for ipojo iirc. However, it might very well be that we don't detect t= his special case because of your set-up. It looks like there is scala in th= e mix too etc. so maybe thats what prevents us form auto-bootdelegation (we= only do it if we are sure - when in doubt we don't) > 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 c= ore classes > Reporter: Tsuyoshi Ito > Assignee: Reto Bachmann-Gm=C3=BCr > Priority: Blocker > Attachments: org.clerezza.test.render.zip, page_reuest_wo_javacor= e.png > > > during profiling session we detected that rendering ssp is very slow. A l= ot of time is used to execute scala.tool.nsc.interpreter.AbstractFileClassL= oader.findClass. Seems that each execution the classes are (re)loaded. IMO = this should not be the case. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.