VM hangs because threads fail to synchronize at safepoint

XMLWordPrintable

    • Type: Bug
    • Resolution: Incomplete
    • Priority: P2
    • 9
    • Affects Version/s: 8u40
    • Component/s: hotspot
    • None

        M. Makundi from the hotspot-gc-use mailing list (subject "G1gc compaction algorithm") reports a VM hang with 8u40-b02 EA and 8u40-b06 EA on their application after a few hours.

        The problem is that typically one thread is not able to synchronize at the safepoint.

        Internally we managed to reproduce the same problem with 8u40-b02 until after the fix for JDK-8056154.

        The attached stack trace (gstacks.txt) shows that thread 49 seems stuck in compiler related methods; note that in mentioned earlier reproductions this has been a single random java thread that hung.

          1. gc-v8-2014-08-30.log.bz2
            136 kB
            Thomas Schatzl
          2. gstacks.txt
            143 kB
            Thomas Schatzl
          3. SPECjbb-Shorter.props
            0.4 kB
            Thomas Schatzl

              Assignee:
              Vladimir Kozlov
              Reporter:
              Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: