Implementing optional specialization when executing code
AssigneeOracle International Corporation
InventorsJohn Robert Rose, Maurizio Cimadamore, Brian Goetz
Life of this patent
Estimating the term…
Loading patent…
AssigneeOracle International Corporation
InventorsJohn Robert Rose, Maurizio Cimadamore, Brian Goetz
Estimating the term…
A compiler is capable of compiling instructions that do or do not supply specialization information for a generic type. The generic type is compiled into an unspecialized type. If specialization information was supplied, the unspecialized type is adorned with information indicating type restrictions for application programming interface (API) points associated with the unspecialized type, which becomes a specialized type. A runtime environment is capable of executing calls to a same API point that do or do not indicate a specialized type, and is capable of executing calls to a same API point of objects of an unspecialized type or of objects of a specialized type. When the call to an API point indicates a specialized type, and the specialized type matches that of the object (if the API point belongs to an object), then a runtime environment may perform optimized accesses based on type restrictions derived from the specialized type.
One or more non-transitory computer readable media storing instructions which, when executed by one or more hardware processors, cause:
A method comprising:
A system comprising:
Dependencies are inferred from the claim text.