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