Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #33513
| From | Jan Burse <janburse@fastmail.fm> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: methodhandles lookup |
| Date | 2016-01-22 17:12 +0100 |
| Organization | albasani.net |
| Message-ID | <n7tkcm$hm8$1@news.albasani.net> (permalink) |
| References | <1abadfac-e34b-4ff0-8ba5-613355fa928b@googlegroups.com> <n7t26f$29m$2@dont-email.me> <0bf0e18b-b787-4ce2-b0cc-f1706d786127@googlegroups.com> <n7t6ii$29m$5@dont-email.me> |
MethodHandle is a wrapper for Method (findStatic, etc..), Constructor (findConstructor, etc..) and Field (findSetter, findGetter etc..), whos invokation translates to the new byte code, which gives faster execution than using the original Method, Constructor or Field API. But I don't have enough experience to say more. Jeff Higgins schrieb: > On Fri, 22 Jan 2016 03:13:31 -0800, Philipp Kraus wrote: > >> Okay thanks. >> >> In my system I have got a component which creates the MethodHandle >> objects from the Method object, so can I create based on the Method >> object the handle object on its signature? >> Can you explain how? In my case I will cache all Method objects and >> build the handlers during runtime, is this fast enough? >> > An interesting article, I'll leave a link here as a memento for me. > <http://mydailyjava.blogspot.com/2015/03/dismantling-invokedynamic.html> >
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
methodhandles lookup Philipp Kraus <philipp.kraus.flashpixx@gmail.com> - 2016-01-22 00:19 -0800
Re: methodhandles lookup Jeff Higgins <jeff@invalid.invalid> - 2016-01-22 08:57 +0000
Re: methodhandles lookup Jeff Higgins <jeff@invalid.invalid> - 2016-01-22 11:01 +0000
Re: methodhandles lookup Philipp Kraus <philipp.kraus.flashpixx@gmail.com> - 2016-01-22 03:13 -0800
Re: methodhandles lookup Jeff Higgins <jeff@invalid.invalid> - 2016-01-22 11:43 +0000
Re: methodhandles lookup Jeff Higgins <jeff@invalid.invalid> - 2016-01-22 12:03 +0000
Re: methodhandles lookup Philipp Kraus <philipp.kraus.flashpixx@gmail.com> - 2016-01-24 01:59 -0800
Re: methodhandles lookup Jeff Higgins <jeff@invalid.invalid> - 2016-01-22 12:16 +0000
Re: methodhandles lookup Jan Burse <janburse@fastmail.fm> - 2016-01-22 17:12 +0100
Re: methodhandles lookup Martin Gregorie <martin@address-in-sig.invalid> - 2016-01-22 11:27 +0000
Re: methodhandles lookup Philipp Kraus <philipp.kraus.flashpixx@gmail.com> - 2016-01-24 01:56 -0800
Re: methodhandles lookup Jan Burse <janburse@fastmail.fm> - 2016-01-22 16:49 +0100
csiph-web