Created attachment 108955 [details]
IDE just hangs, see thread dump attached
It looks like FAMMonitorDirectory hangs, but it did not happen before.
Has anything changed in the way watches added recently?
Fix for issue 197985 the Notifiers are used more often then in 7.0.x. Maybe this is causing problems for the FAM implementation. As most of the code was written by gorrus, passing to him.
IDE always hangs on Solaris after some time, but only in trunk, so this is NOT a showstopper for 7.0.l
indeed it looks like a showstopper for 7.0.1:
I've done some tests and it looks like FAMNotifier hangs on new addWatch after 700-800 watches added. Recent changes only made this hang appear faster.
I agree. Please follow the showstopper process.
nextEvent is reading FAM events too slow (one per second) and after some time FAM buffer gets full and then it blocks everything
After fixes (in trunk) findMIMEType is creating and destroying way too many CachedFileObject and it produces enormous number of Notifier add/remove watch requests. FAM implementation has a bug that prevents it from working if input buffer was overflown. I'll think about a workaround on java side.
At the same time it would be great if findMIMEType did not produce so many Notifier requests if possible.
I'm sure it should not be a problem for 7.0.1.
this fix limits the number of unprocessed FAM requests to 100 and blocks the next request until FAM gets less busy. This will lead to slowdown reports which must be fixed by reducing the number of watcher requests from findMIMEType
Integrated into 'main-golden'
User: Egor Ushakov <firstname.lastname@example.org>
Log: fixed #199497 (IDE hang)
*** Bug 200989 has been marked as a duplicate of this bug. ***
fix was verified by the reporter of the #200989 in dev build
*** Bug 200070 has been marked as a duplicate of this bug. ***
integrated into release701_fixes: