FTR I've opened and implemented http://jira.xwiki.org/browse/XWIKI-8801
Thanks -Vincent On Dec 20, 2012, at 1:34 PM, Caleb James DeLisle <[email protected]> wrote: > 20 threads blocked on: > at > com.xpn.xwiki.render.DefaultVelocityManager.getVelocityEngine(DefaultVelocityManager.java:177) > - waiting to lock <0x637cbe38> (a > com.xpn.xwiki.render.DefaultVelocityManager) > at > com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105) > > https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/render/DefaultVelocityManager.java#L157 > > The holder of this lock calls context.getWiki().getSkinFile("macros.vm", > skin, context); > and context.getWiki().exists(skin, context), both of which potentially access > the database while > holding a global lock. > > Looks like some delicious low hanging fruit to me. > > Thanks, > Caleb > > > > Original message removed because it is too big for the list. > See it here: > https://ezcrypt.it/4H5n#8mjU1voDtZsANw9vsLa8WM8Y _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

