Mercurial > hg > graal-compiler
diff src/share/vm/runtime/arguments.cpp @ 726:be93aad57795
6655646: dynamic languages need dynamically linked call sites
Summary: invokedynamic instruction (JSR 292 RI)
Reviewed-by: twisti, never
author | jrose |
---|---|
date | Tue, 21 Apr 2009 23:21:04 -0700 |
parents | 6e33bfd4139b |
children | 20c6f43950b5 |
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp Mon Apr 20 14:48:03 2009 -0700 +++ b/src/share/vm/runtime/arguments.cpp Tue Apr 21 23:21:04 2009 -0700 @@ -2627,6 +2627,12 @@ } #endif // PRODUCT + if (EnableInvokeDynamic && !EnableMethodHandles) { + if (!FLAG_IS_DEFAULT(EnableMethodHandles)) { + warning("forcing EnableMethodHandles true to allow EnableInvokeDynamic"); + } + EnableMethodHandles = true; + } if (EnableMethodHandles && !AnonymousClasses) { if (!FLAG_IS_DEFAULT(AnonymousClasses)) { warning("forcing AnonymousClasses true to enable EnableMethodHandles");