System and method for dynamic preloading of classes through memory space cloning of a master runtime system process
DC CAFCFirst Claim
1. A system for dynamic preloading of classes through memory space cloning of a master runtime system process, comprising:
- A processor;
A memory a class preloader to obtain a representation of at least one class from a source definition provided as object-oriented program code;
a master runtime system process to interpret and to instantiate the representation as a class definition in a memory space of the master runtime system process;
a runtime environment to clone the memory space as a child runtime system process responsive to a process request and to execute the child runtime system process; and
a copy-on-write process cloning mechanism to instantiate the child runtime system process by copying references to the memory space of the master runtime system process into a separate memory space for the child runtime system process, and to defer copying of the memory space of the master runtime system process until the child runtime system process needs to modify the referenced memory space of the master runtime system process.
2 Assignments
Litigations
0 Petitions
Reexamination
Accused Products
Abstract
A system and method for dynamic preloading of classes through memory space cloning of a master runtime system process is presented. A master runtime system process is executed. A representation of at least one class is obtained from a source definition provided as object-oriented program code. The representation is interpreted and instantiated as a class definition in a memory space of the master runtime system process. The memory space is cloned as a child runtime system process responsive to a process request and the child runtime system process is executed, inheriting the memory state of the parent, which reflects the data structures and state corresponding to the preloaded classes.
35 Citations
22 Claims
-
1. A system for dynamic preloading of classes through memory space cloning of a master runtime system process, comprising:
-
A processor;
A memory a class preloader to obtain a representation of at least one class from a source definition provided as object-oriented program code;a master runtime system process to interpret and to instantiate the representation as a class definition in a memory space of the master runtime system process; a runtime environment to clone the memory space as a child runtime system process responsive to a process request and to execute the child runtime system process; and a copy-on-write process cloning mechanism to instantiate the child runtime system process by copying references to the memory space of the master runtime system process into a separate memory space for the child runtime system process, and to defer copying of the memory space of the master runtime system process until the child runtime system process needs to modify the referenced memory space of the master runtime system process. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 21)
-
-
10. A method for dynamic preloading of classes through memory space cloning of a master runtime system process, comprising:
-
executing a master runtime system process; obtaining a representation of at least one class from a source definition provided as object-oriented program code; interpreting and instantiating the representation as a class definition in a memory space of the master runtime system process; and cloning the memory space as a child runtime system process responsive to a process request and executing the child runtime system process; wherein cloning the memory space as a child runtime system process involves instantiating the child runtime system process by copying references to the memory space of the master runtime system process into a separate memory space for the child runtime system process; and wherein copying references to the memory space of the master runtime system process defers copying of the memory space of the master runtime system process until the child runtime system process needs to modify the referenced memory space of the master runtime system process. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18, 19, 22)
-
-
20. An apparatus for dynamic preloading of classes through memory space cloning of a master runtime system process, comprising:
-
A processor;
A memory means for executing a master runtime system process;means for obtaining a representation of at least one class from a source definition provided as object-oriented program code; means for interpreting and means for instantiating the representation as a class definition in a memory space of the master runtime system process; and means for cloning the memory space as a child runtime system process responsive to a process request and means for executing the child runtime system process; wherein the means for cloning the memory space is configured to clone the memory space of a child runtime system process using a copy-on-write process cloning mechanism that instantiates the child runtime system process by copying references to the memory space of the master runtime system process into a separate memory space for the child runtime system process and that defers copying of the memory space of the master runtime system process until the child runtime system process needs to modify the referenced memory space of the master runtime system process.
-
Specification