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

atomic::membar doesn't on x86

XMLWordPrintable

    • 07
    • x86, sparc
    • solaris_8, windows

        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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: