Running the test Compact_InternedStrings I observe a live lock when running
with CMS where
Thread 26 has done an allocation out of the perm gen and is trying
to reacquire the heap lock and is blocked. The perm gen object has
not been initialized.
Thread 25 has requested a collection (VM_GenCollectForPermanentAllocation) and is
executing in VMThread::execute() and has grabbed the heap lock as
part of the doit_prologue().
Thread 16 is the VM thread and it is trying to do a compaction.
It is in the loop in CompactibleFreeListSpace::block_size() waiting
for the block to be initialized (never will be).