Bulk loading system and method
Abstract
A method and system for providing an efficient and convenient mechanism for class loading is presented. A present system and method virtual machine includes a bulk class loading component, normal class loader and execution engine. The bulk class loading component performs bulk loading of classes in a single pass of respective code sources. The normal class loader performs normal class loading activities, including normal class hierarchy tree searches and single class loading with multiple search traversals. In one embodiment, a bulk class identification component identifies classes for bulk loading. Classes can be identified for bulk class loading based upon designated characteristics or attributes. For example, a designated characteristic can include a class that is loaded between two points in time (e.g., from startup to a predetermined time after startup). The designated characteristic can be a relationship to other classes, including dependency relationships to classes identified for bulk loading based upon other criteria.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 31 · Forward citations: 7.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A class loading method for loading a plurality of classes, the method comprising: performing a hierarchical class loading process wherein single classes of the plurality of classes are loaded in each of one or more traversals of a code source; detecting a bulk loading trigger activity; performing a bulk class loading process for bulk loading two or more classes of the plurality of classes in response to detecting said bulk loading trigger activity, wherein the two or more classes are loaded in a single traversal of the code source; and executing a program associated with classes loaded by said
- Claim 2Depends on #1
The class loading method of claim 1 wherein said bulk class loading process comprises: performing a bulk loading class identification process; tracking classes identified by said bulk loa
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (31)
Non-Patent Literature (5)
- "About the OSGi Service Platform," Technical Whitepaper, Revision 3.0, Jul. 12, 2004, OSGI Alliance, pp. 1-17.
- "JAR File Specification", Sun Microsystems, retrieved online at http://web.archive.org/web/20000815091814/http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html, 11 pages.
- Atsatt, Bryan, et al., "Classloading in Oracle9iAS Containers for J2EE", Jan. 2003, Oracle Corp., retrieved online at http://oracle.com/technology/tech/java/oc4j/pdf/ClassLoadingInOC4J—WP.pdf, an Oracle White Paper, 24 pages.
- David Hovenmeyer and William Pugh, "More Efficient Network Class Loading through Bundling," Proceedings of the 2001 Symposium on JavaTM Virtual Machine Research and Technology Symposium—vol. 1, 2001, (13 pages).
- Hall, Richard S. "A Policy-Driven Class Loader to Support Deployment in Extensible Frameworks", May 3, 2004, Springer Berlin / Heidelberg, Lecture Notes in Computer Science: Component Development, vol. 3083/2004, pp. 81-96.