Using pre-generated bytecode
baqhaidri at gmail.com
Tue Jan 20 22:55:42 UTC 2015
I've read online
Java 8u40 has the ability to read previously generated Java bytecode and
therefore avoid warmup costs:
*Nashorn in JDK 8u40 also supports caching generated code and type
information deduced at runtime to disk. This means that only the first
iteration of a largish application with long warmup will be an issue.
Consecutive runs of the same code will stabilize very quickly with the same
Unfortunately, I haven't been able to find any documentation either online
or on the nashorn-dev list on how to do this. Can somebody point me to
some documentation that describes how to do this?
More information about the nashorn-dev