From ec8b931ac0042a6e45cb8f21c33b04965cedccaf Mon Sep 17 00:00:00 2001 From: iveresov Date: Tue, 9 Nov 2010 15:12:15 -0800 Subject: [PATCH] 6998737: JSR 292: Remove the plug guarding the use of compressed oops Summary: The plug that guards the use of compressed oops with invokedynamic needs to be removed Reviewed-by: twisti, kvn --- src/share/vm/runtime/arguments.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/share/vm/runtime/arguments.cpp b/src/share/vm/runtime/arguments.cpp index b5704d32f..091db03ca 100644 --- a/src/share/vm/runtime/arguments.cpp +++ b/src/share/vm/runtime/arguments.cpp @@ -978,17 +978,6 @@ void Arguments::check_compressed_oops_compat() { } } - // XXX JSR 292 currently does not support compressed oops - if (EnableMethodHandles) { - if (is_on_by_default) { - FLAG_SET_DEFAULT(UseCompressedOops, false); - return; - } else { - vm_exit_during_initialization( - "JSR292 is not supported with compressed oops yet", NULL); - } - } - // If dumping an archive or forcing its use, disable compressed oops if possible if (DumpSharedSpaces || RequireSharedSpaces) { if (is_on_by_default) { -- GitLab