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

VM hangs because threads fail to synchronize at safepoint

    Details

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

      Backports

        Description

        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.

          Attachments

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

            Issue Links

              Activity

                People

                • Assignee:
                  kvn Vladimir Kozlov
                  Reporter:
                  tschatzl Thomas Schatzl
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  11 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: