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

atomic::membar doesn't on x86

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      07
    • CPU:
      x86, sparc
    • OS:
      solaris_8, windows

      Backports

        Description

        There are three problems with x86 membar:

        1) It's a no-op on win32

        2) Linux uses sfence, instead of mfence, doing only store barriers

        3) Solaris x86 claims to do a mfence, but uses the sfence encoding!

        This is a critical flaw. There is a reproducable VM crash on win32,
        and the solx86/linux bug could easily result in random VM crashes.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jmcilreesunw James Mcilree (Inactive)
                Reporter:
                jmcilreesunw James Mcilree (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: