JDK-4430453 : Linux: SuspendCheckerThread doesn't timeout
  • Type: Bug
  • Component: vm-legacy
  • Sub-Component: jvmpi
  • Affected Version: 1.3.1
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: linux
  • CPU: generic
  • Submitted: 2001-03-27
  • Updated: 2002-09-06
  • Resolved: 2002-09-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other Other
1.3.1 rc2Fixed 1.4.0Fixed
Related Reports
Relates :  
Relates :  
Description
daniel.daugherty@Eng 2001-03-27

This bug was encountered while chasing the following bug:

4369489 2/5 jdb does not work on Linux platform.

This bug is the sixth layer of that onion.

The SuspendCheckerThread is not working right on Linux. This prevents
the VMThread from detecting suspend operations that will hang itself.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: ladybird-rc1 FIXED IN: ladybird merlin-beta merlin-beta2 INTEGRATED IN: ladybird-rc2 merlin-beta
14-06-2004

EVALUATION daniel.daugherty@Eng 2001-03-27 There are a couple of problems: - The VMThread tries to use the SuspendCheckThread before it is ready; this is a timing problem from my original implementation that only showed up with slower Linux thread launching. - The VMThread/SuspendCheckerThread deadlock detection is not working; this is a bug with Monitor::wait() where the timeout is not detected on Linux. See linux-hang0.log for analysis of the hang.
11-06-2004

SUGGESTED FIX daniel.daugherty@Eng 2001-03-27 See attached webrev.tar file for the changes.
27-03-2001