Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8337205
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:14:02+00:00 2026-06-09T04:14:02+00:00

We have few components in our project extending HashMap . Due to unsynchronized access

  • 0

We have few components in our project extending HashMap.
Due to unsynchronized access to the HashMap object we are getting the logs like the below one in production:

ThreadMonitor W WSVR0605W:Thread "webcontainer:5" has been active for 864096 milliseconds and may be hung.There is/are 5 thread(s) in the total server that may be hung.
    at java.util.HashMap.findNonNullKeyEntry(HashMap.java:525)
    at java.util.HashMap.putImpl(HashMap.java:622)
    at java.util.HashMap.put(HashMap.java:605

I want to recreate this for the testing purpose and tried spawning different threads putting and getting the HashMap object, but still no breakthroughs. Also, I have set loadFactor to 0.1 so that resizing of the HashMap will occur more frequently, which we are analysing is causing the issue (structural changes in the HahMap).

We are using IBM Java version 6.

How can I recreate this issue?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T04:14:06+00:00Added an answer on June 9, 2026 at 4:14 am

    I think you can refer to the code by gwoolsey at JDK-6611637. I was able to reproduce the problem with this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have few components like libraries dlls When initially created I ran the following
I am learning Devart's mydac Data Access Components and I have few question I
i have few confusion regarding ORM(Object Relational Mapping) i am thinking about to use
I have few text fields like SSN , phone number and email id. I
I have few pages in following structure. --Project |---WebContect |----Admin/ * |----Author/ * |----Readonly/
I have a few selects that I have built as external components in a
I have a GUI written using netbeans with a few simple components in place.
I have a few Delphi 6 third party components which I need to add
I have few components in a view and I am disposing them by clicking
I have a screen with a few components (textInput, textArea, checkBox). I want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.