Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6782457

CMS: Livelock in CompactibleFreeListSpace::block_size().

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • hs14
    • 7
    • hotspot
    • None
    • gc
    • b01
    • b09
    • generic
    • generic

        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).

              ysr Y. Ramakrishna
              jmasa Jon Masamitsu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: