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

Shenandoah: Shenandoah String Dedup thread is not properly initialized

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8-aarch64, 8-shenandoah
    • Fix Version/s: 8-shenandoah
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc

      Description

      This bug seems to exist since day one of 8u backport. The ConcurrentGCThread API is different in 8u and we leaves ShenandoahDedupThread not properly initialized before it enters work loop.

      In Shenandoah String Deduplication tests, the bug results assertion failure that shows Thread::current() == NULL.

      The bug only manifests on Windows, is due to discrepancy of java_start() implementation on different OSs. e.g. it sets *thread* on Linux.

        Attachments

          Activity

            People

            Assignee:
            zgu Zhengyu Gu
            Reporter:
            zgu Zhengyu Gu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: