This interface describes a generic cache for compiled JavaScript classes. It may be attached to the NodeEnvironment so that multiple scripts in the same JVM can share the same set of compiled JavaScript code. This saves on memory in an environment where many JavaScript methods share the same JVM. Since Node.js applications tend to have many hundreds of JavaScript files required when they execute, and since each one compiles to bytecode, large Trireme installations may use a lot of PermGen space. This cache helps reduce that.
A cache class for JavaClass objects, which enables us to quickly reference methods.
@author Doug Davis (dug@us.ibm.com)
@author Glen Daniels (gdaniels@apache.org)
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.