Created attachment 106187 [details]
One of the ergonomics unit tests hung again; unkillable except by SIGKILL due to deadlock in shutdown hook. Assigning here provisionally since I seem to recall the hangs are always in the ergonomics job; I remember you trying to do something about it before but I guess it didn't work. (I don't have info on which build the hung test process came from; just found it via jps -lm on builder.)
I think the right fix is to ensure that FileChangedManager.checkRead never call Logger.log synchronously. It could post events into a ConcurrentLinkedQueue for consumption by another thread, perhaps.
I will try to make sure the logger is initialized sooner first: ergonomics#f17baedd0f5d
Integrated into 'main-golden', will be available in build *201102280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Jaroslav Tulach <email@example.com>
Log: #195699: Making sure the logger is initialized sooner than FileChangedManager intercepts any security checks