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

Word tearing problem with _last_sweep

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Subcomponent:
      jfr
    • Resolved In Build:
      b11

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: