Java application blocking in CodeCache.

Solution Verified - Updated -

Issue

  • Java application is running slowly, from examining pstack output the following trace is seen:
0x00007f7091d2743c  __pthread_cond_wait + 0xcc
0x00007f7090f55e18  _ZN7Monitor5ILockEP6Thread + 0x1b8
0x00007f7090f5604f  _ZN7Monitor28lock_without_safepoint_checkEv + 0x2f
0x00007f7090be5c73  _ZN9CodeCache18largest_free_blockEv + 0x33
0x00007f7090c0de25  _ZN13CompileBroker14compile_methodE12methodHandleiiS0_iPKcP6Thread + 0x3a5
0x00007f7090bfd92f  _ZN16SimpleCompPolicy23method_invocation_eventE12methodHandleP10JavaThread + 0xef
0x00007f7090bfcdf2  _ZN19NonTieredCompPolicy5eventE12methodHandleS0_ii9CompLevelP7nmethodP10JavaThread + 0x102

Environment

  • Oracle jdk 1.7.0.9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.