--- a/hotspot/src/share/vm/runtime/arguments.cpp Wed Mar 17 16:40:25 2010 -0700
+++ b/hotspot/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;