Mercurial > hg > truffle
comparison src/share/vm/runtime/sharedRuntime.cpp @ 2416:38fea01eb669
6817525: turn on method handle functionality by default for JSR 292
Summary: After appropriate testing, we need to turn on EnableMethodHandles and EnableInvokeDynamic by default.
Reviewed-by: never, kvn, jrose, phh
author | twisti |
---|---|
date | Thu, 31 Mar 2011 02:31:57 -0700 |
parents | 3d58a4983660 |
children | 758ba0bf7bcc |
comparison
equal
deleted
inserted
replaced
2415:09f96c3ff1ad | 2416:38fea01eb669 |
---|---|
1680 oopDesc* actual) { | 1680 oopDesc* actual) { |
1681 if (TraceMethodHandles) { | 1681 if (TraceMethodHandles) { |
1682 tty->print_cr("WrongMethodType thread="PTR_FORMAT" req="PTR_FORMAT" act="PTR_FORMAT"", | 1682 tty->print_cr("WrongMethodType thread="PTR_FORMAT" req="PTR_FORMAT" act="PTR_FORMAT"", |
1683 thread, required, actual); | 1683 thread, required, actual); |
1684 } | 1684 } |
1685 assert(EnableMethodHandles, ""); | 1685 assert(EnableInvokeDynamic, ""); |
1686 oop singleKlass = wrong_method_type_is_for_single_argument(thread, required); | 1686 oop singleKlass = wrong_method_type_is_for_single_argument(thread, required); |
1687 char* message = NULL; | 1687 char* message = NULL; |
1688 if (singleKlass != NULL) { | 1688 if (singleKlass != NULL) { |
1689 const char* objName = "argument or return value"; | 1689 const char* objName = "argument or return value"; |
1690 if (actual != NULL) { | 1690 if (actual != NULL) { |