JIT stops compiling after a while (java 8u45)

nileema nileema.shingte at gmail.com
Mon Feb 29 22:59:53 UTC 2016


We are seeing an issue with the CodeCache becoming full which causes the
compiler to be disabled in jdk-8u45 to jdk-8u72. 

We had seen a similar issue in Java7 (old issue:
http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2013-August/011333.html).
This issue went away with earlier versions of Java 8.

We used the test http://github.com/martint/jittest to compare the behavior
of jdk-8u25 and jdk-8u45. For this test, we did not see any CodeCache full
messages with jdk-8u25  but did see them with 8u45+ (8u60  and 8u74)

Test results comparing 8u25, 8u45 and 8u74:
https://gist.github.com/nileema/6fb667a215e95919242f

In the results you can see that 8u25 starts collecting the code cache much
sooner than 8u45. 8u45 very quickly hits the limit for code cache. If we
force a full gc when it is about to hit the code cache limit, we see the
code cache size go down. 

Is this a known issue? 

Thanks! 

Nileema



--
View this message in context: http://openjdk.5641.n7.nabble.com/JIT-stops-compiling-after-a-while-java-8u45-tp259603.html
Sent from the OpenJDK Hotspot Compiler Development List mailing list archive at Nabble.com.


More information about the hotspot-compiler-dev mailing list