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

PPC64 (part 113.2): opto: Introduce LoadFence/StoreFence.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • port-stage-ppc-aix
    • port-stage-ppc-aix
    • hotspot
    • None

        The c2 compiler inserts MemBarAcquire/Release nodes to enforce memory ordering in various places. Some order a certain load/store with other operations. inline_unsafe_fence() inserts MemBars that do not correspont to a memory operation. So far, the same nodes were used.

        This change introduces MemBarFenceAcquire/Release to use where no dedicated load/store is ordered. With this change, these nodes can be matched differently, what is needed on PPC64.

        ----------------------------

        This is preparation for PPC64 integration: http://openjdk.java.net/jeps/175
        This and following ppc64 changes will go into staging repository first and tested there: http://hg.openjdk.java.net/ppc-aix-port/stage/
         
        Extend Load and Store nodes to know about memory ordering.

        http://hg.openjdk.java.net/ppc-aix-port/jdk8/hotspot/file/df79d76c17ab/ppc_patches/0113_opto-Extend_Load_and_Store_nodes_to_know_about_memory_ordering.patch
         

              goetz Goetz Lindenmaier
              goetz Goetz Lindenmaier
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: