Increasing maximum JVM code-cache size

Solution Unverified - Updated -

Issue

  • The code cache keeps filling up on our JBoss servers is there a way we can increase this size or a way we can isolate what is causing the code cache to fillup?
  • Code Cache is filling up on a 64bit system with large heap and appears to be causing performance issues in the environment. A restart clears it up for a while, until it fills up again.  Can we simply increase the size of the code cache or try UseCodeCacheFlushing (appears to be new) or use a different Garbage Collector (GC) ?

Environment

  • JBoss Enterprise Application Platform
  • Oracle JDK

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content