My Oracle Support Banner

Java SE Application is Hung in java.util.HashMap.put(), While java.util.HashMap.get() is Involved (Doc ID 1237703.1)

Last updated on NOVEMBER 08, 2020

Applies to:

Java Platform, Standard Edition - Version 1.3.1 to 7 [Release 1.3 to 7]
Information in this document applies to any platform.


The article presents guidelines on how to diagnose if a Java SE application is hung in the java.util.HashMap.put() method.


Troubleshooting Steps

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
Troubleshooting Steps
 1. Obtain a Java Thread Dump
 2. Inspect the Java Thread Dump
 2.1 Look for a Thread in the java.util.HashMap.put() method
 2.2 Look for a Thread calling a java.util.HashMap method
 3. Solution
 3.1 java.util.HashMap API
 3.2 Change to Synchronized Methods

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