My Oracle Support Banner

Unsynchronized HashMap Usage In GlassFish Server Connection Pool Causes High CPU Utilzation (Doc ID 1998861.1)

Last updated on JUNE 26, 2023

Applies to:

Oracle GlassFish Server - Version 3.1.2 and later
Information in this document applies to any platform.

Symptoms

Running into situations where connection pool threads are spinning in infinite loops. It appears to be due to unsynchronized use of a HashMap. This causes corruption of the internal structure of the HashMap which then causes infinite loops.

Here is a sample prstat output from the GlassFish Server process taken when the problem is seen:

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.