JRockit 7.0 SP4/8.1 SP1 - JVM hangs in java.lang.Object.getMonitorIndexAndLock(Native Method)

(Doc ID 774543.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle JRockit / JRockit / 7.0, 8.1
Information in this document applies to any platform

Goal

DESCRIPTION:
When the JVM hangs, the java thread dump shows that the java threads are stuck in
java.lang.Object.getMonitorIndexAndLock(Native Method).
The problem happens when the java code uses interned strings (String retunred by String.intern() call).

CONFIGURATION:
JRockit 7.0 SP4/8.1 SP1

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms