Invention Grant
- Patent Title: Execution of parameterized classes on legacy virtual machines to generate instantiation metadata
-
Application No.: US15332346Application Date: 2016-10-24
-
Publication No.: US10466975B2Publication Date: 2019-11-05
- Inventor: Maurizio Cimadamore , Brian Goetz
- Applicant: ORACLE INTERNATIONAL CORPORATION
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Jickman Palermo Becker Bingham LLP
- Agent Brian N. Miller
- Main IPC: G06F9/455
- IPC: G06F9/455 ; G06F9/44 ; G06F8/30 ; G06F9/445 ; G06F9/448 ; G06F8/41

Abstract:
Techniques herein processes type assignments for a generic class to generate a concrete class. In an embodiment, a computer analyzes a client class to detect a dependency on a generic class having type parameters. The client class contains a specialization context that specifies type assignments for the type parameters. Each type parameter is associated with particular type entries in the generic class that identify an erasure type to use in case the type parameter is erased. The computer generates instantiation metadata for the generic class including, for each type entry, performing the following. In response to determining that the specialization context specifies binding a particular type to the type parameter associated with the type entry, the computer generates an entry for the instantiation metadata that identifies the particular type. Otherwise, the computer generates an entry for the instantiation metadata that identifies an erasure type of the type entry.
Public/Granted literature
- US20170116007A1 EXECUTION OF PARAMETERIZED CLASSES ON LEGACY VIRTUAL MACHINES Public/Granted day:2017-04-27
Information query