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

CMS: Livelock in CompactibleFreeListSpace::block_size().

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 7
    • Fix Version/s: hs14
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Introduced In Build:
      b01
    • Introduced In Version:
    • Resolved In Build:
      b09
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

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

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: