mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
6998737
: JSR 292: Remove the plug guarding the use of compressed oops
The plug that guards the use of compressed oops with invokedynamic needs to be removed Reviewed-by: twisti, kvn
This commit is contained in:
parent
39ef076af4
commit
0e15b9fce3
1 changed files with 0 additions and 11 deletions
|
@ -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 dumping an archive or forcing its use, disable compressed oops if possible
|
||||||
if (DumpSharedSpaces || RequireSharedSpaces) {
|
if (DumpSharedSpaces || RequireSharedSpaces) {
|
||||||
if (is_on_by_default) {
|
if (is_on_by_default) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue