Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of Nashorn performance in this 49-minute Java conference talk. Delve into strategies for achieving native-like performance with dynamic languages on the JVM, including optimistic types, static compiler enhancements, and field representation. Learn about property maps, types, and optimistic builtins, as well as techniques for relinking callsites and implementing partial evaluation. Discover JVM and JDK optimizations, lazy compilation methods, and the use of profiling tools like Java Flight Recorder. Gain insights into the future of Nashorn performance optimization and its potential impact on Java development.
Syllabus
Towards native performance with dynamic languages on the JVM
The Legal Slide
v8 bleeding edge...
avatar.js
The Secret Sauce
Just compile to bytecode!
Optimistic Types
Implementation
Static Compiler Enhancements
Field Representation
Property Maps and Types
Closing the circle: Optimistic Builtins
Relinking Callsites
Other optimizations
Partial Evaluation
JVM / JDK optimizations
Lazy Compilation
Profiling and Java Flight Recorder
The Future
Taught by
Java