Invention Grant
- Patent Title: Speculative object shapes
- Patent Title (中): 投机对象形状
-
Application No.: US13931475Application Date: 2013-06-28
-
Publication No.: US09229697B2Publication Date: 2016-01-05
- Inventor: Thomas Wuerthinger
- 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: Osha Liang LLP
- Main IPC: G06F9/45
- IPC: G06F9/45 ; G06F9/455

Abstract:
A method for speculative object shapes comprises obtaining values for objects of a first and second shape, determining, by a processor and during runtime, a first speculative type for the first value and a second speculative type for the second value, generating, based on the first speculative type and the second speculative type, a shape tree comprising a first subtree for the first shape and a second subtree for the second shape, marking, by the processor, the first subtree as obsolete based on a determination that the first speculative type is incorrect and that the second shape is a super shape of the first shape, and transforming, in response to marking, the first object from the first shape to the second shape by: merging the first subtree into the second subtree.
Public/Granted literature
- US20150007151A1 SPECULATIVE OBJECT SHAPES Public/Granted day:2015-01-01
Information query