Supercharging Reflective Libraries with InvokeDynamic
У вашего броузера проблема в совместимости с HTML5
Reflection is a powerful tool but has traditionally carried with it a performance penalty. This session shows how a combination of InvokeDynamic and bytecode generation can be used to transform a traditional reflection-based library into one in which there is almost no performance penalty. To do so, the presentation starts with a brief need-to-know overview of JVM bytecode and the InvokeDynamic protocol. It then walks through creating a simple JSON marshaling library by using ASM bytecode generation and InvokeDynamic and shows how hand-rolled marshaling code can be rivaled in performance. Techniques for testing this code, including security policies, are also covered.
Author:
Ian Robertson
Ian Robertson is an Application Architect for Myriad Genetics. He has 14 years of experience with Java, and is the author/coauthor of several open source projects, including Jamon, a Java templating language, and Pojomatic, a library for easily generating equals and hashCode implementations from simple annotations. He holds a Ph.D. in Mathematics from the University of Chicago.
View more trainings by Ian Robertson at https://www.parleys.com/author/ian-robertson
Find more related tutorials at https://www.parleys.com/category/developer-training-tutorials