changeset 19733:415975c5550b

Disable updateBytesCRC32 until MethodSubstutions are compiled like snippets
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Mon, 09 Mar 2015 13:11:36 -0700
parents 6a3832494e24
children b53f87e24a7b cb4d01e1c084
files graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/CRC32Substitutions.java
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/CRC32Substitutions.java	Mon Mar 09 13:07:18 2015 -0700
+++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/CRC32Substitutions.java	Mon Mar 09 13:11:36 2015 -0700
@@ -44,14 +44,17 @@
 
     public static class Guard implements SubstitutionGuard {
 
-        private HotSpotVMConfig config;
+        @SuppressWarnings("unused") private HotSpotVMConfig config;
 
         public Guard(HotSpotVMConfig config) {
             this.config = config;
         }
 
         public boolean execute() {
-            return config.useCRC32Intrinsics;
+            /*
+             * Disabled until MethodSubstitutions are compiled like snipppets.
+             */
+            return false; // return config.useCRC32Intrinsics;
         }
     }