changeset 19169:d599eeab1b53

Merge.
author Doug Simon <doug.simon@oracle.com>
date Fri, 06 Feb 2015 12:44:50 +0100
parents 32c7a5a88523 (diff) 39e99cf01468 (current diff)
children 938a290903f3 751489b93b2c
files graal/com.oracle.graal.alloc/overview.html graal/com.oracle.graal.alloc/src/com/oracle/graal/alloc/ComputeBlockOrder.java graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/alloc/Interval.java graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/alloc/IntervalWalker.java graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/alloc/LinearScan.java graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/alloc/LinearScanWalker.java graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/alloc/LocationMarker.java graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/alloc/MoveResolver.java graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/alloc/OptimizingLinearScanWalker.java graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/alloc/Range.java graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/alloc/RegisterVerifier.java graal/com.oracle.graal.phases/src/com/oracle/graal/phases/util/ArrayMap.java graal/com.oracle.graal.phases/src/com/oracle/graal/phases/util/ArraySet.java graal/com.oracle.graal.phases/src/com/oracle/graal/phases/util/BitMap2D.java graal/com.oracle.graal.phases/src/com/oracle/graal/phases/util/IntList.java graal/com.oracle.graal.phases/src/com/oracle/graal/phases/util/Util.java
diffstat 5 files changed, 17 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/HotSpotGraphBuilderPluginsProvider.java	Thu Feb 05 19:35:29 2015 +0100
+++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/HotSpotGraphBuilderPluginsProvider.java	Fri Feb 06 12:44:50 2015 +0100
@@ -50,7 +50,7 @@
                     mirror = builder.append(ConstantNode.forConstant(objectStamp.type().getJavaClass(), metaAccess));
                 } else {
                     StampProvider stampProvider = builder.getStampProvider();
-                    LoadHubNode hub = builder.append(new LoadHubNode(stampProvider, makeNonNull(builder, rcvr)));
+                    LoadHubNode hub = builder.append(new LoadHubNode(stampProvider, nullCheckedValue(builder, rcvr)));
                     mirror = builder.append(new HubGetClassNode(builder.getMetaAccess(), hub));
                 }
                 builder.push(Kind.Object, mirror);
--- a/graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderContext.java	Thu Feb 05 19:35:29 2015 +0100
+++ b/graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderContext.java	Fri Feb 06 12:44:50 2015 +0100
@@ -50,10 +50,10 @@
     void push(Kind kind, ValueNode value);
 
     /**
-     * @see GuardingPiNode#makeNonNull(ValueNode)
+     * @see GuardingPiNode#nullCheckedValue(ValueNode)
      */
-    static ValueNode makeNonNull(GraphBuilderContext builder, ValueNode value) {
-        ValueNode nonNullValue = GuardingPiNode.makeNonNull(value);
+    static ValueNode nullCheckedValue(GraphBuilderContext builder, ValueNode value) {
+        ValueNode nonNullValue = GuardingPiNode.nullCheckedValue(value);
         if (nonNullValue != value) {
             builder.append((FixedWithNextNode) nonNullValue);
         }
--- a/graal/com.oracle.graal.java/src/com/oracle/graal/java/StandardGraphBuilderPluginsProvider.java	Thu Feb 05 19:35:29 2015 +0100
+++ b/graal/com.oracle.graal.java/src/com/oracle/graal/java/StandardGraphBuilderPluginsProvider.java	Fri Feb 06 12:44:50 2015 +0100
@@ -88,7 +88,7 @@
         }
 
         public boolean apply(GraphBuilderContext builder, ValueNode value) {
-            builder.push(kind.getStackKind(), builder.append(new UnboxNode(makeNonNull(builder, value), kind)));
+            builder.push(kind.getStackKind(), builder.append(new UnboxNode(nullCheckedValue(builder, value), kind)));
             return true;
         }
 
--- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/GuardingPiNode.java	Thu Feb 05 19:35:29 2015 +0100
+++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/GuardingPiNode.java	Fri Feb 06 12:44:50 2015 +0100
@@ -74,7 +74,7 @@
      * non-null}. If {@code value} already has such a stamp, then it is returned. Otherwise a fixed
      * node guarding {@code value} is returned where the guard performs a null check.
      */
-    public static ValueNode makeNonNull(ValueNode value) {
+    public static ValueNode nullCheckedValue(ValueNode value) {
         ObjectStamp receiverStamp = (ObjectStamp) value.stamp();
         if (!StampTool.isPointerNonNull(receiverStamp)) {
             IsNullNode condition = value.graph().unique(new IsNullNode(value));
--- a/mx/mx_graal.py	Thu Feb 05 19:35:29 2015 +0100
+++ b/mx/mx_graal.py	Fri Feb 06 12:44:50 2015 +0100
@@ -1481,17 +1481,24 @@
     vm(vmargs)
 
 def _basic_gate_body(args, tasks):
-    with Task('BuildHotSpotGraal: fastdebug,product', tasks):
-        buildvms(['--vms', 'graal,server', '--builds', 'fastdebug,product'])
+    # Build server-hosted-graal now so we can run the unit tests
+    with Task('BuildHotSpotGraalHosted: product', tasks):
+        buildvms(['--vms', 'server', '--builds', 'product'])
 
-    with VM('server', 'product'):  # hosted mode
+    # Run unit tests on server-hosted-graal
+    with VM('server', 'product'):
         with Task('UnitTests:hosted-product', tasks):
             unittest(['--enable-timing', '--verbose', '--fail-fast'])
 
-    with VM('server', 'product'):  # hosted mode
+    # Run baseline unit tests on server-hosted-graal
+    with VM('server', 'product'):
         with Task('UnitTests-BaselineCompiler:hosted-product', tasks):
             unittest(['--enable-timing', '--verbose', '--whitelist', 'test/whitelist_baseline.txt', '-G:+UseBaselineCompiler'])
 
+    # Build the other VM flavors
+    with Task('BuildHotSpotGraalOthers: fastdebug,product', tasks):
+        buildvms(['--vms', 'graal,server', '--builds', 'fastdebug,product'])
+
     with VM('graal', 'fastdebug'):
         with Task('BootstrapWithSystemAssertions:fastdebug', tasks):
             vm(['-esa', '-XX:-TieredCompilation', '-version'])