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

  • Home
  • SEARCH
  • 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 8947727
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T12:50:27+00:00 2026-06-15T12:50:27+00:00

To start with it is a huge application and the problem concerns many lines

  • 0

To start with it is a huge application and the problem concerns many lines so I can’t really attach any code.

After a change that consists mainly of clearing and re-adding elements to some collection, swing GUI of the application freezes. That freeze doesn’t happen while that added code is executed but some time afterwards. What makes it strange is that no thread is suspended.

My question is whether the infinite loop is the only explanation of this problem. It feels unlikely to me that this is the case because the added code finishes without problems.
There may be some unsynchronized collection access issue, but I don’t see it leading to that situation. It doesn’t look also like we are dealing with a deadlock coming from synchronization problem since no thread is suspended.

  • 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-15T12:50:28+00:00Added an answer on June 15, 2026 at 12:50 pm

    In the end it is a deadlock.

    My team leader told me that threads waiting on monitor (on “synchronized”) aren’t shown in eclipse as suspended. He found some two threads and asked to pause them. Then I saw they are waiting for each other to release the occupied monitors.

    The deadlock isn’t fault of the code I entered. It’s just that the change I made revealed wrong synchronization in some other place.

    Thank you all for trying to help me, I really appreciate it. It is my first question on stackoverflow and I was surprised how fast had you reacted.

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

Sidebar

Related Questions

I have some HUGE log files (50Mb; ~500K lines) I need to start filtering
I´m facing a huge problem since a couple weeks. I´ve an asp.net application hosted
We have a huge ASP.Net web application in C#. It is now required that
Simple problem in Delphi. I've created a console application and I need to change
I'm putting together my first commercial PHP application, it's nothing really huge as I'm
I start a download using PHP with this code: <? $_REQUEST['file'] = urldecode($_GET['file']); header(Content-type:
I start studing iOS last week and before I go any further I would
Just start to learning Cocos2d and getting errors in Xcode 4.3.3 (4E3002). Problem in
To start, I am a beginner in drupal, so any advice helps me out
My application downloads huge files using HttpWebRequest -> WebResponse -> Stream -> FileStream .

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.