8140389: Remove StringCharIntrinsics flag after JDK-8138651 is fixed
Reviewed-by: kvn, zmajo
--- 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 "\