should align the displacement word CompiledICs and CompiledStaticCalls

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.4.2
    • Affects Version/s: 1.4.2
    • Component/s: hotspot
    • b13
    • x86
    • solaris_8

      I've just fixed this for C1, in a fairly conservative way and C2 should do the same. Basically NativeCall::set_destination_mt_safe isn't MT-safe on Intel if the call spans a cache line. The most straightforward fix is to align the displacement word of CompiledIC and CompiledStaticCall to a word boundary. We could rely simply on having the whole displacement on a single cache line but you can't really rely on the atomicity of unaligned stores on intel either.

            Assignee:
            Steve Dever (Inactive)
            Reporter:
            Tom Rodriguez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: