发明名称 COMPLEX CONSTANTS
摘要 In an approach, a virtual machine identifies, within a set of instructions, an instruction to load a constant; identifies, based on the instruction to load the constant, a first entry in a data structure that identifies a particular constant type of the one or more constant types, wherein the first entry specifies at least constant data and a first set of instructions for assembling a value or partial value from the constant data; executes the first set of instructions to assemble the value or the partial value from the constant data; and stores a particular value or a reference to the particular value onto a run-time data structure used to pass values or references between sets of instructions executing in a run-time environment, wherein the particular value is based on the value or the particular value assembled from the constant data.
申请公布号 US2015363174(A1) 申请公布日期 2015.12.17
申请号 US201514726155 申请日期 2015.05.29
申请人 Oracle International Corporation 发明人 ROSE JOHN ROBERT;GOETZ BRIAN
分类号 G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项 1. A method comprising: identifying, within a set of program instructions, an instruction to load a constant; identifying, based on the instruction to load the constant, a first entry associated with the constant in a data structure that identifies one or more constants used by a program, wherein the first entry specifies at least constant data and a first set of instructions for assembling a value or partial value from the constant data; executing the first set of instructions to assemble the value or the partial value from the constant data; storing a particular value or a reference to the particular value onto a run-time data structure used to pass values or references between sets of instructions executing in a run-time environment, wherein the particular value is based on the value or the partial value assembled from the constant data, wherein the method is performed by one or more computing devices.
地址 Redwood Shores CA US