changeset 7239:885a6849ee9e

(temp) forcing slow path for TLAB refill during array allocation
author Doug Simon <doug.simon@oracle.com>
date Mon, 17 Dec 2012 12:02:11 +0100
parents 7f55fd5f897d
children 80b278b69b5e
files graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/stubs/NewArrayStub.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/stubs/NewArrayStub.java	Mon Dec 17 11:45:09 2012 +0100
+++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/stubs/NewArrayStub.java	Mon Dec 17 12:02:11 2012 +0100
@@ -102,6 +102,7 @@
 
     @Fold
     private static boolean forceSlowPath() {
-        return Boolean.getBoolean("graal.newArrayStub.forceSlowPath");
+        // TODO (ds) make default "false" once refill issue is resolved
+        return "true".equalsIgnoreCase(System.getProperty("graal.newArrayStub.forceSlowPath", "true"));
     }
 }