changeset 10500:f9f949cc2333

Probability inversion in unsafe load lowering
author Christos Kotselidis <christos.kotselidis@oracle.com>
date Fri, 21 Jun 2013 16:42:32 +0200
parents cbeafa74236c
children 4d84627b891b
files graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotRuntime.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotRuntime.java	Fri Jun 21 16:26:35 2013 +0200
+++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotRuntime.java	Fri Jun 21 16:42:32 2013 +0200
@@ -880,8 +880,8 @@
             MergeNode mergeFinal = graph.add(new MergeNode());
 
             // IfNodes
-            IfNode ifNodeType = graph.add(new IfNode(instanceOfNode, memoryReadBarrier, leftFalse, 1));
-            IfNode ifNodeOffset = graph.add(new IfNode(offsetCondition, ifNodeType, rightFirst, 1));
+            IfNode ifNodeType = graph.add(new IfNode(instanceOfNode, memoryReadBarrier, leftFalse, 0.1));
+            IfNode ifNodeOffset = graph.add(new IfNode(offsetCondition, ifNodeType, rightFirst, 0.1));
 
             // Both branches are true (i.e. Add the barrier)
             memoryReadBarrier.setNext(leftTrue);