groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lp_forum <>
Subject GroovyClassLoader deadlock in Groovy 2.4.6?
Date Tue, 21 Jun 2016 02:48:42 GMT

I have a very simple single page app using Java 7 + Spring Boot 1.3.3 +
Groovy Template (using Groovy 2.4.6).

The app starts hanging after it starts and gets hit for a while (it can be
as short as just few hours).

The thread dump shows that hundreds of threads are waiting to lock a
java.util.HashMap, like this:

"http-nio-9044-exec-294" daemon prio=10 tid=0x00007f54d0b68000 nid=0x7632
waiting for monitor entry [0x00007f54c99d6000]
   java.lang.Thread.State: BLOCKED (on object monitor)
	at groovy.lang.GroovyClassLoader.parseClass(
	- waiting to lock <0x0000000786748cd8> (a java.util.HashMap)
	at groovy.lang.GroovyClassLoader.parseClass(

This seems similar to GROOVY-4127, but that issue was fixed a long time ago.

If anyone needs, I can send the full thread dump.


View this message in context:
Sent from the Groovy Dev mailing list archive at

View raw message