This site is currently read-only as we are migrating to Oracle Forums for an improved community experience. You will not be able to initiate activity until January 30th, when you will be able to use this site as normal.

    Forum Stats

  • 3,890,299 Users
  • 2,269,776 Discussions
  • 7,916,824 Comments

Discussions

Code cache full lead to JIT stops compiling

Hi Team

I've seen a lot on the Internet about the problem that if the CodeCache area is full, it will lead to the stop of the JIT compilation

OpenJDK Hotspot Compiler Development List - JIT stops compiling after a while (java 8u45)

https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8006952

To avoid this problem, we have to write code, when CodeCache reaches 70%, we call System.gc (); But I see you mentioned that the problem has been solved in JDK 8, but it's a pity that no specific JDK version number is given. Here's my JDK version, and I'd like to ask if you've solved the problem of JIT STOP.

java version "1.8.0_111"

Java(TM) SE Runtime Environment (build 1.8.0_111-b14)

Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)

thanks a lot

Answers