hg: ppc-aix-port/jdk7u/hotspot: Fix calls to the LoadLNode constructor with the Load semantics argument in the wrong position.

volker.simonis at gmail.com volker.simonis at gmail.com
Mon Feb 11 10:16:42 PST 2013


Changeset: 957079356751
Author:    simonis
Date:      2013-02-11 19:16 +0100
URL:       http://hg.openjdk.java.net/ppc-aix-port/jdk7u/hotspot/rev/957079356751

Fix calls to the LoadLNode constructor with the Load semantics argument in the wrong position.

The 'LoadLNode()' constructor and 'GraphKit::store_to_memory()' method both take 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 sites of the 'LoadLNode()' and 'store_to_memory()' which have been fixed in this change only used six arguments but wrongly passed the 'Sem' argument in the sixth position thus accidentally converting it into a bool with the meaning 'require_atomic_access'.

! src/share/vm/opto/graphKit.cpp
! src/share/vm/opto/memnode.cpp
! src/share/vm/opto/memnode.hpp
! src/share/vm/opto/parse2.cpp



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