0 votes
in Education by (55.6k points)

What is Nashorn in Java8?

1 Answer

0 votes
by (55.6k points)

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
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Nov 8, 2020 in Education by Editorial Staff (55.6k points)
0 votes
1 answer
asked Nov 8, 2020 in Education by Editorial Staff (55.6k points)
...