diff src/share/vm/runtime/arguments.cpp @ 1304:76c1d7d13ec5

6932091: JSR 292 x86 code cleanup Summary: Some code cleanups found during the JSR 292 SPARC port. Reviewed-by: kvn, never
author twisti
date Thu, 18 Mar 2010 09:56:51 +0100
parents 5f1f51edaff6
children cc98cc548f51
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp	Wed Mar 17 16:40:25 2010 -0700
+++ b/src/share/vm/runtime/arguments.cpp	Thu Mar 18 09:56:51 2010 +0100
@@ -2859,6 +2859,12 @@
   }
 #endif // _LP64
 
+  // MethodHandles code does not support TaggedStackInterpreter.
+  if (EnableMethodHandles && TaggedStackInterpreter) {
+    warning("TaggedStackInterpreter is not supported by MethodHandles code.  Disabling TaggedStackInterpreter.");
+    TaggedStackInterpreter = false;
+  }
+
   // Check the GC selections again.
   if (!check_gc_consistency()) {
     return JNI_EINVAL;