Using pre-generated bytecode

Baq Haidri baqhaidri at
Tue Jan 20 22:55:42 UTC 2015

I've read online
<> that
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
good performance.*

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 mailing list