6932091: JSR 292 x86 code cleanup

Some code cleanups found during the JSR 292 SPARC port.

Reviewed-by: kvn, never
This commit is contained in:
Christian Thalinger 2010-03-18 09:56:51 +01:00
parent dac78c30b9
commit 1270c6c005
6 changed files with 72 additions and 118 deletions

View file

@ -2859,6 +2859,12 @@ jint Arguments::parse(const JavaVMInitArgs* args) {
}
#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;