Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.4
-
None
Description
The following code in FileCleaningTrackerTestCase never exits, hanging the whole compilation/testing process:
private void waitUntilTrackCount() {
while (theInstance.getTrackCount() != 0) {
int total = 0;
while (theInstance.getTrackCount() != 0)
}
}
It is clear that in theory this code might loop forever, as the allocation of the byte arrays might never unleash a garbage collection complete enough to deallocate all marker objects, so to bring the track count to zero. Believe me, it's not only theory .