8139094: Tier1 test java/util/zip/TestCRC32C.java fails due to fixes for JDK-8134553
authoriveresov
Thu, 08 Oct 2015 09:51:12 -0700
changeset 33087 5945b51448e9
parent 33086 d9b7f6713bff
child 33091 275888dd277e
child 33145 eda79f89d495
8139094: Tier1 test java/util/zip/TestCRC32C.java fails due to fixes for JDK-8134553 Summary: Match correct intrinsic kind Reviewed-by: iveresov, kvn Contributed-by: tomasz.wojtowicz@intel.com
hotspot/src/cpu/x86/vm/templateInterpreter_x86_32.cpp
--- a/hotspot/src/cpu/x86/vm/templateInterpreter_x86_32.cpp	Thu Oct 01 11:52:44 2015 -0700
+++ b/hotspot/src/cpu/x86/vm/templateInterpreter_x86_32.cpp	Thu Oct 08 09:51:12 2015 -0700
@@ -849,7 +849,7 @@
     __ movl(end, Address(rsp, 4 + 0)); // end
     __ subl(len, Address(rsp, 4 + 1 * wordSize));  // end - offset == length
     // Calculate address of start element
-    if (kind == Interpreter::java_util_zip_CRC32_updateByteBuffer) {
+    if (kind == Interpreter::java_util_zip_CRC32C_updateDirectByteBuffer) {
       __ movptr(buf, Address(rsp, 4 + 2 * wordSize)); // long address
       __ addptr(buf, Address(rsp, 4 + 1 * wordSize)); // + offset
       __ movl(crc, Address(rsp, 4 + 4 * wordSize)); // Initial CRC