I'm tracking the IOS UI lockup I reported in another thread long ago, but have some new data, because
this time I was running the locked app under the ios simulator.
The EDT thread is marked ->threadBlockedByGC and is waiting at the end of monitorEnter.
This accounts for the UI lockup symptom.
The GC thread is waiting in codename1GCMark, waiting for thread 17 to be inactive.
Thread 17 doesn't exist. Its threadData table seems to be in good repair, but there
is no thread 17 in allThreads
threadsToDelete is all nulls.
... with my imperfect understanding of the threading and gc environment, it looks like
thread 17 went away while the GC was waiting for it, and no one told the GC.