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

Word tearing problem with _last_sweep

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 16
    • 16
    • hotspot
    • jfr
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: