C2 compiler hangs and eats memory in escape analysis

Fredrik Tolf fredrik at dolda2000.com
Fri Jan 23 23:41:02 UTC 2015

On Thu, 22 Jan 2015, Vladimir Kozlov wrote:
> It is also https://bugs.openjdk.java.net/browse/JDK-8041984
> Both bugs are fixed in jdk 8u40 too.
> Fredrik, you can download early access 8u40 and try it:
> https://jdk8.java.net/download.html

Ah, thank you and sorry for not checking the EA in advance. It does indeed 
catch the problem I'm seeing.

However, judging from the description ("[...] in a very rare situation") 
of the linked bug report and the nature of the solution (a timeout if the 
CG phase takes too long), it seems to me that this might be a workaround 
to a problem that you might not have been able to reproduce reliably 
enough to find any root cause. Correct me if I'm wrong, of course.

If that is the case, I do indeed have a close to perfectly reproducible 
test-case over here, so if you want me to produce information for you to 
find the actual root cause, I'd be happy to do so.

Fredrik Tolf

More information about the hotspot-compiler-dev mailing list