Mercurial > hg > truffle
comparison src/share/vm/runtime/arguments.cpp @ 1923:2db84614f61d
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
author | iveresov |
---|---|
date | Tue, 09 Nov 2010 15:12:15 -0800 |
parents | 9de67bf4244d |
children | 2d26b0046e0d 9752a6549f2e 0ac62b4d6507 |
comparison
equal
deleted
inserted
replaced
1922:5caa30ea147b | 1923:2db84614f61d |
---|---|
973 FLAG_SET_DEFAULT(UseCompressedOops, false); | 973 FLAG_SET_DEFAULT(UseCompressedOops, false); |
974 return; | 974 return; |
975 } else { | 975 } else { |
976 vm_exit_during_initialization( | 976 vm_exit_during_initialization( |
977 "Tiered compilation is not supported with compressed oops yet", NULL); | 977 "Tiered compilation is not supported with compressed oops yet", NULL); |
978 } | |
979 } | |
980 | |
981 // XXX JSR 292 currently does not support compressed oops | |
982 if (EnableMethodHandles) { | |
983 if (is_on_by_default) { | |
984 FLAG_SET_DEFAULT(UseCompressedOops, false); | |
985 return; | |
986 } else { | |
987 vm_exit_during_initialization( | |
988 "JSR292 is not supported with compressed oops yet", NULL); | |
989 } | 978 } |
990 } | 979 } |
991 | 980 |
992 // If dumping an archive or forcing its use, disable compressed oops if possible | 981 // If dumping an archive or forcing its use, disable compressed oops if possible |
993 if (DumpSharedSpaces || RequireSharedSpaces) { | 982 if (DumpSharedSpaces || RequireSharedSpaces) { |