发明名称 CONFIGURABLE MEMORY LAYOUTS FOR SOFTWARE PROGRAMS
摘要 The disclosed embodiments provide a system that facilitates execution of a software program. During operation, the system obtains one or more user-defined rules for configuring a memory layout of an object instance in a software program, wherein the one or more user-defined rules are created separately from source code for the software program. Next, the system generates the memory layout of the object instance by applying the one or more user-defined rules to one or more fields of the object instance. The system then executes the software program using the generated memory layout of the object instance.
申请公布号 US2017090757(A1) 申请公布日期 2017.03.30
申请号 US201514864514 申请日期 2015.09.24
申请人 Oracle International Corporation 发明人 Hunt Charles J.;Denise Jean-François;Drach Steven J.
分类号 G06F3/06 主分类号 G06F3/06
代理机构 代理人
主权项 1. A method, comprising: obtaining one or more user-defined rules for specifying a custom memory layout of an object instance in a software program, wherein the one or more user-defined rules are stored in association with the object instance; during runtime of the software program, instantiating the object instance by generating, by a computer system, the memory layout of the object instance by applying the one or more user-defined rules to one or more fields of the object instance; and executing, by the computer system, the software program using the generated memory layout of the object instance.
地址 Redwood City CA US