Re: Re: ASM 4 is ready ?
Rémi Forax <[email protected]>
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <[email protected]> |
On 01/08/2011 12:26 PM, Eric Bruneton wrote: > 06/01/2011 02:59, Rémi Forax wrote: >> Hi everybody, >> I'm please to announce that I've finished to implement all remaining >> features of ASM 4. >> - xml package has been updated to work with invokedynamic. >> - the optimizer works with invokedynamic. >> - ClassWriter(ClassReader) optimization now works. > > thanks! I made some refactorings to change some class and method > names, move constant definitions, etc (to be more consistent with > current ASM conventions) I think renaming MHandle to MethodHandle ( resp.M.Type to MethodType) was a bad idea. I mostly use ASM at runtime e.g. in a world where java.dyn.MethodHandle exists, you can see an example in my last blog post (http://weblogs.java.net/blog/forax/archive/2011/01/07/call-invokedynamic-java) It will be really a pain for me and all other runtime implementers to have to prefix by "org.objectweb.asm" each time I will have to disambiguate between ASM MethodHandle and JSR292 MethodHandle. As a parallel, org.objectweb.asm.Type is not named org.objectweb.asm.Class. > > Do you have classes making heavy use of the new invokedynamic > instruction? If so you could test if ClassReader performance can be > improved by caching some data (for instance, you could add a 'bsm' > array to cache the already parsed MethodHandle objects, and likewise > for the invokedynamic constants -- see the ClassReader.strings array; > you can also cache the hashcode of these objects in a private field, etc) PHP.reboot has a ahead of time generator that generates such classes . I will update it to use the latest revision and send you instructions explaining how to generate such classes. > > Eric Rémi
message-footer.txt
(text/plain, 238 B)
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws