in Education by

What is Nashorn in Java8?

Please log in or register to answer this question.

1 Answer

0 votes
by

What is Nashorn in Java8?

With Java 8, Nashorn, a much improved javascript engine is introduced, to replace the existing Rhino. Nashorn provides 2 to 10 times better performance, as it directly compiles the code in memory and passes the bytecode to JVM. Nashorn uses invokedynamics feature, introduced in Java 7 to improve performance.

Related questions

0 votes
asked Nov 8, 2020 in Education by Editorial Staff
0 votes
asked Nov 8, 2020 in Education by Editorial Staff
0 votes
asked Nov 8, 2020 in Education by Editorial Staff
...