hg: ppc-aix-port/jdk8/hotspot: FIX: opto: Extend Load and Store nodes to know about memory ordering.

volker.simonis at gmail.com volker.simonis at gmail.com
Tue Mar 26 10:06:28 PDT 2013


Changeset: 410ef56e69d0
Author:    simonis
Date:      2013-03-26 18:04 +0100
URL:       http://hg.openjdk.java.net/ppc-aix-port/jdk8/hotspot/rev/410ef56e69d0

FIX: opto: Extend Load and Store nodes to know about memory ordering.

The change "4280:fb70eef44b05 opto: Extend Load and Store nodes to know about memory ordering" forgot to update one occurrence of the 'LoadLNode()' constructor which still has the Load semantics argument in the wrong position.

The 'LoadLNode()' constructor takes 7 arguments. The sixth argument ('require_atomic_access') is of type bool and has a default value of 'false'. The seventh argument ('sem') is of enumeration type Sem and has a default value of 'LoadNode::unordered'. The call site of the 'LoadLNode()' which have been fixed in this change only uses six arguments but wrongly passes the 'Sem' argument in the sixth position thus accidentally converting it into a bool with the meaning 'require_atomic_access'.

! src/share/vm/opto/memnode.cpp



More information about the ppc-aix-port-dev mailing list