METHOD AND APPARATUS FOR LOADING CLASSES AND RE-ORGANIZING CLASS ARCHIVES
First Claim
1. A method for loading a class to a virtual machine, comprising:
- organizing a class archive before class loading such that the organized class archive includes a class contraction portion; and
loading only said class contraction portion of said class archive to the virtual machine.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus for loading classes to virtual machines and a method and apparatus for reorganizing class archives. The method for loading a class to a virtual machine includes organizing a class archive before class loading such that the organized class archive includes a class contraction portion and loading only the class contraction portion of the class archive to the virtual machine at the moment of class loading. By first loading the class contraction portion from the organized class archive to the virtual machine at the moment of loading, the present invention curtails code redundancy, shortens loading time and reduces occupied memory resources.
16 Citations
20 Claims
-
1. A method for loading a class to a virtual machine, comprising:
-
organizing a class archive before class loading such that the organized class archive includes a class contraction portion; and loading only said class contraction portion of said class archive to the virtual machine. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An apparatus for loading a class to a virtual machine, comprising:
-
a class loader; and a class archive having a class contraction portion; wherein said class archive is organized before class loading such that the organized class archive includes the class contraction portion of said class archive; and wherein said class loader is configured to load only said class contraction portion of said class archive to the virtual machine. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15)
-
-
16. A method for reorganizing a class archive, comprising:
-
organizing said class archive to include a class contraction portion; and loading only the class contraction portion of said class archive. - View Dependent Claims (17, 18, 19, 20)
-
Specification