rkeen-siemens commented on issue #9490:
URL: https://github.com/apache/netbeans/issues/9490#issuecomment-4905476364
I've also seen the main thread blocked waiting for the logger queue to be
emptied but the log flush thread was blocked on the main thread.
```
Thread [main] (Suspended)
owns: Object (id=31)
waited by: System Thread [Logging Flush] (Suspended)
Unsafe.park(boolean, long) line: not available [native method]
28 collapsed frames
LockSupport.park() line: 369
AbstractQueuedSynchronizer$ConditionNode.block() line: 520
ForkJoinPool.unmanagedBlock(ForkJoinPool$ManagedBlocker) line:
4364
ForkJoinPool.managedBlock(ForkJoinPool$ManagedBlocker) line:
4310
AbstractQueuedSynchronizer$ConditionObject.await() line: 1752
LinkedBlockingQueue<E>.put(E) line: 343
DispatchingHandler.publish(LogRecord) line: 64
Logger.log(LogRecord) line: 962
Logger.doLog(LogRecord) line: 989
Logger.log(Level, String) line: 1012
Logger.fine(String) line: 1811
StandardModule.loadManifest() line: 246
StandardModule.getManifest() line: 107
StandardModule(Module).dataWithCheck() line: 158
ModuleFactory.create(File, Object, boolean, boolean, boolean,
ModuleManager, Events) line: 53
ModuleManager.create(File, Object, boolean, boolean, boolean)
line: 821
ModuleList.createModule(File, ModuleHistory, boolean, boolean,
boolean, Integer) line: 163
ModuleList$ReadInitial.run() line: 1646
EventControl.runAtomicAction(FileSystem$AtomicAction) line: 102
SystemFileSystem(FileSystem).runAtomicAction(FileSystem$AtomicAction) line: 494
ModuleList.readInitial() line: 147
ModuleSystem.readList() line: 283
Main.getModuleSystem(boolean) line: 172
Main.getModuleSystem() line: 142
Main.start(String[]) line: 303
TopThreadGroup.run() line: 97
Thread.runWith(Object, Runnable) line: 1487
Thread.run() line: 1474
System Thread [Logging Flush] (Suspended)
owns: HashSet<E> (id=32)
owns: ProxyLookup (id=33)
owns: MainLookup (id=34)
owns: MessagesHandler (id=35)
waiting for: Object (id=31)
owned by: Thread [main] (Suspended)
StandardModule(Module).dataWithCheck() line: 139
34 collapsed frames
StandardModule(Module).data() line: 132
StandardModule(Module).getCodeNameBase() line: 260
StandardModule.toString() line: 575
String.valueOf(Object) line: 4530
StringBuilder.append(Object) line: 173
HashSet<E>(AbstractCollection<E>).toString() line: 459
String.valueOf(Object) line: 4530
Util$ModuleLookup.toString() line: 504
String.valueOf(Object) line: 4530
StringBuilder.append(Object) line: 173
Arrays$ArrayList<E>(AbstractCollection<E>).toString() line: 459
String.valueOf(Object) line: 4530
StringBuilder.append(Object) line: 173
ProxyLookup.toString() line: 91
String.valueOf(Object) line: 4530
StringBuilder.append(Object) line: 173
Arrays$ArrayList<E>(AbstractCollection<E>).toString() line: 459
String.valueOf(Object) line: 4530
StringBuilder.append(Object) line: 173
MainLookup(ProxyLookup).toString() line: 91
MessageFormat.subformat(Object[], StringBuf, FieldPosition,
List<AttributedCharacterIterator>) line: 1539
MessageFormat.format(Object, Format$StringBuf, FieldPosition)
line: 1093
MessageFormat(Format).format(Object) line: 165
MessageFormat.format(String, Object...) line: 1059
NbFormatter(Formatter).formatMessage(LogRecord) line: 141
NbFormatter.print(StringBuilder, LogRecord, Set<Throwable>)
line: 59
NbFormatter.format(LogRecord) line: 45
MessagesHandler(StreamHandler).publish(LogRecord) line: 207
MessagesHandler.publish(LogRecord) line: 115
DispatchingHandler.run() line: 152
RequestProcessor$Task.run() line: 1519
GlobalLookup.execute(Lookup, Runnable) line: 45
Lookups.executeWith(Lookup, Runnable) line: 287
RequestProcessor$Processor.run() line: 2141
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists