Patent ID: 11972308
Assignee: ORACLE INTERNATIONAL CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. One or more non-transitory computer readable storage media storing instructions which, when executed by one or more hardware processors, cause:
performing a first preparation for a constant defined in a type, wherein performing the first preparation for the constant comprises:
allocating a first memory space, within a first runtime constant pool associated with the type, for a first resolution state of the constant;

performing a first resolution for the constant, wherein performing the first resolution for the constant comprises:
determining a first resolved value for the first resolution state of the constant;
storing, into the first runtime constant pool, the first resolved value as a first permanent value for the first resolution state of the constant, wherein no other value is subsequently stored as the first resolution state of the constant;

subsequent to performing the first preparation for the constant: performing a second preparation for the constant, wherein performing the second preparation for the constant comprises:
creating a second memory space, in a second runtime constant pool associated with the type, for a second resolution state of the constant;

performing a second resolution for the constant, wherein performing the second resolution for the constant comprises:
determining a second resolved value for the second resolution state of the constant, wherein the first resolved value and the second resolved value are different;
storing, into the second runtime constant pool, the second resolved value as a second permanent value for the second resolution state of the constant, wherein no other value is subsequently stored as the second resolution state of the constant.