8140389: Remove StringCharIntrinsics flag after JDK-8138651 is fixed
authorshade
Thu, 05 Nov 2015 16:35:21 +0300
changeset 33637 f62a5a399b21
parent 33636 58b6bcd2ecac
child 33638 ef49ed90010b
child 34152 a04f8bf14d45
8140389: Remove StringCharIntrinsics flag after JDK-8138651 is fixed Reviewed-by: kvn, zmajo
hotspot/src/share/vm/classfile/vmSymbols.cpp
hotspot/src/share/vm/runtime/globals.hpp
--- a/hotspot/src/share/vm/classfile/vmSymbols.cpp	Thu Nov 05 15:29:46 2015 +0100
+++ b/hotspot/src/share/vm/classfile/vmSymbols.cpp	Thu Nov 05 16:35:21 2015 +0300
@@ -695,12 +695,6 @@
   case vmIntrinsics::_subtractExactL:
     if (!UseMathExactIntrinsics || !InlineMathNatives) return true;
     break;
-  case vmIntrinsics::_getCharStringU:
-  case vmIntrinsics::_putCharStringU:
-    // Until JDK-8138651 is fixed, we have to rely on a special flag to
-    // disable these intrinsics for experiments.
-    if (!StringCharIntrinsics) return true;
-    break;
 #endif // COMPILER2
   default:
     return false;
--- a/hotspot/src/share/vm/runtime/globals.hpp	Thu Nov 05 15:29:46 2015 +0100
+++ b/hotspot/src/share/vm/runtime/globals.hpp	Thu Nov 05 16:35:21 2015 +0300
@@ -4262,9 +4262,6 @@
              "Use the FP register for holding the frame pointer "           \
              "and not as a general purpose register.")                      \
                                                                             \
-  diagnostic(bool, StringCharIntrinsics, true,                              \
-             "Inline String*.getChar/putChar intrinsics.")                  \
-                                                                            \
   diagnostic(bool, CheckIntrinsics, true,                                   \
              "When a class C is loaded, check that "                        \
              "(1) all intrinsics defined by the VM for class C are present "\