Invention Grant
- Patent Title: Dependency-driven co-specialization of specialized classes
-
Application No.: US14692590Application Date: 2015-04-21
-
Publication No.: US09678729B2Publication Date: 2017-06-13
- Inventor: Brian Goetz , John R. Rose , Alexander R. Buckley
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood City
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood City
- Agency: Meyertons, Hood, Kivlin, Kowert & Goetzel, P.C.
- Agent Robert C. Kowert
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/45 ; G06F9/445

Abstract:
The loading or operation of a specialized class may trigger the specialization of other classes. A compiler may be configured to recognize dependency relationships between generic classes and to describe the classes in terms of the type variables of the triggering types (e.g., the types and/or type parameterizations) that trigger the specialization of classes based on the specialization of a first class. A compiler may include information, such as structural references, indicating dependency relationships between classes when generating class files. Thus, the class file may include information indicating that a class extends a class resulting from applying a specialization code generator to an argument. Loading a first class may trigger the loading of a second class described by a structural description such that a specializer (and/or class loader) may apply the structural description to generate and load the second class for the particular parameterization.
Public/Granted literature
- US20150301840A1 Dependency-driven Co-Specialization of Specialized Classes Public/Granted day:2015-10-22
Information query