Conservative class preloading for real time Java execution
Abstract
A computer implemented method, a computer program product and a data processing system for executing an application written in a dynamic language are provided. An execution point of the application is loaded. A list of classes associated with the execution point is generated. The loading of each class in the list of classes is simulated. New execution points and new classes accessible from each execution point within each class in the list of classes are identified by recursively parsing instructions associated with each execution point. The list is modified to include the identified new execution points and new classes. Responsive to a determination that new execution points and new classes have been identified, the steps of identifying new execution points and new classes and modifying the list is repeated. The list is saved.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method, comprising: receiving, from an application, a jar file having a class file including a list of methods and classes, the list of methods and classes including a method list and a class list; loading, in a batch, all the classes in the list of methods and classes; executing a first loop that repeatedly performs first loop operations until no new methods and classes are found in the list of methods and classes, the first loop operations including: scanning each method within the method list to identify new method(s) and/or class(es), and modifying the list of method
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (17)
Non-Patent Literature (5)
- Joshua Engel, "Programming for the Java Virtual Machine", Addison-Wesley Professional, Jun. 22, 1999, pp. 193-196.
- JUnitX, Jul. 1, 2001, retrieved from http://web.archive.org/web/20020701232751/http://www.extreme-java.de/xptools/tutorial2/step8g.html.
- Kozen et al., "Eager Class Initialization for Java", Jul. 23, 2001, pp. 1-12. http://techreports.library.cornell.edu:8081/Dienst/UI/1.0/Display/cul.cs/TR2001-1845.
- Perrone, "J2EE Session EJB Development", Jun. 1, 2001, informIT.com.
- Rayside et al. "Extracting Java Library Subsets for Deployment on Embedded Systems", 2002, Science of Computer Programming, vol. 45.