System and method for supporting distributed class loading in a virtual machine (vm)
AssigneeOracle International Corporation
InventorGAJANAN KULKARNI
Life of this patent
Estimating the term…
Abstract
A system and method can support distributed class loading in a computing environment, such as a virtual machine. A class loader can break a classpath into one or more subsets of a classpath, wherein the classpath is associated with a class. Furthermore, the class loader can use one or more threads to locate the class based on said one or more subsets of the classpath. Then, the class loader can load the class after a said thread locates the class.
Claims20
A method for supporting distributed class loading in a computing environment, comprising:
- tokenizing, via a class loader, a classpath into one or more subsets of the classpath, each of the subsets of the classpath being a token of the classpath, wherein the classpath is associated with a class;
- passing, by the class loader, the one or more tokens of the classpath to one or more threads;
- using the one or more threads to locate the class based on the one or more tokens of the classpath;
- locating, by at least a thread of the one or more threads, the class;
- and
- loading, via the class loader, the class from the at least a thread of the one or more threads.
A system for supporting distributed class loading in a computing environment, comprising:
- one or more microprocessors;
- and
- a processor, running on the one or more microprocessors, wherein the processor operates to perform steps comprising:
- tokenizing, via a class loader, a classpath into one or more subsets of the classpath, each of the subsets of the classpath being a token of the classpath, wherein the classpath is associated with a class;
- passing, by the class loader, the one or more tokens of the classpath to one or more threads;
- using the one or more threads to locate the class based on the one or more tokens of the classpath;
- locating, by at least a thread of the one or more threads, the class;
- and
- loading, via the class loader, the class from the at least a thread of the one or more threads.
A non-transitory machine readable storage medium having instructions stored thereon for supporting distributed class loading in a computing environment that when executed cause a system to perform steps comprising:
- tokenizing, via a class loader, a classpath into one or more subsets of the classpath, each of the subsets of the classpath being a token of the classpath, wherein the classpath is associated with a class;
- passing, by the class loader, the one or more tokens of the classpath to one or more threads;
- using one or more threads to locate the class based on the one or more tokens of the classpath;
- locating, by at least a thread of the one or more threads, the class;
- and
- loading, via the class loader, the class from the at least a thread of the one or more threads.
Dependencies are inferred from the claim text.