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

Word tearing problem with _last_sweep

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 16
    • 16
    • hotspot
    • jfr
    • b11

      With the change for JDK-8235573, the static variable _last_sweep in objectSampler.cpp can be modified and read concurrently. For 64 bit platforms, this isn't a problem but for 32 bit platforms that support concurrent weak reference processing, this could word tear.

      See [~kbarrett] reply for in depth analysis.
      https://mail.openjdk.java.net/pipermail/hotspot-dev/2020-August/042614.html

            mgronlun Markus Grönlund
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: