InterviewSolution
| 1. |
What Is Nashorn In Java8? |
|
Answer» 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. 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. |
|