My Oracle Support Banner

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

Last updated on JULY 31, 2018

Applies to:

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


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:



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

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