Using pre-generated bytecode

A. Sundararajan sundararajan.athijegannathan at oracle.com
Wed Jan 21 02:59:39 UTC 2015


If you run "jjs -xhelp" with a 8u40 build, you'll see one-liner doc for 
all options. As for tool docs, jdk8u40 is not yet released. ( 
https://jdk8.java.net/download.html ). Once released the web docs will 
be updated.

Hope this helps,
-Sundar

On Wednesday 21 January 2015 04:25 AM, Baq Haidri wrote:
> I've read online
> <https://blogs.oracle.com/nashorn/entry/nashorn_performance_work_in_the> 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?
>
> Thanks!
> Baq



More information about the nashorn-dev mailing list