Invention Grant
- Patent Title: Speculative object representation
- Patent Title (中): 投机对象表示
-
Application No.: US14061677Application Date: 2013-10-23
-
Publication No.: US09235433B2Publication Date: 2016-01-12
- Inventor: Thomas Wuerthinger , Lukas Stadler
- 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 optimizing code includes receiving, by a compiler and from an interpreter, a code section representation including an object allocation, compiling, by the compiler, the code section representation into machine code with a compact allocated object of the object allocation, and triggering a deoptimization returning execution to the interpreter in response to an attempted access of the compact allocated object. The method further includes setting, by the interpreter and within the code section representation, a flag indicating that a new compact allocated object is required at a location of the attempted access, receiving, by the compiler, the code section representation including the flag, compiling, by the compiler and according to the flag, the code section representation into new machine code including the new compact allocated object, and executing the new machine code with the new compact allocated object.
Public/Granted literature
- US20150113512A1 SPECULATIVE OBJECT REPRESENTATION Public/Granted day:2015-04-23
Information query