Patent ID: 6832369
Filing Date: 2004-12-14
Classification: G06F

Abstract:
A method for compiling object-oriented programming code in a programming language which employs run-time static initialization semantics, comprising the computer-executed steps of:identifying a first set of run-time static initialization instructions contained in a called portion of said object-oriented programming code said run-time static initialization instructions affecting a plurality of static storage values; analyzing said first set to identify a second set of run-time static initialization instructions, said second set being a subset of said first set, wherein each run-time static initialization instruction of said second set must logically execute whenever said called portion of said object oriented programming code is called; generating an initial static storage image for said called portion of said object-oriented programming code, wherein each static storage value affected by a at least one run-time static initialization instruction of said second set is initialized in said initial static storage image to a respective initialized state said respective initialized state being identical to a state of the corresponding static storage value produced by executing the respective at least one run-time static initialization instruction of the second set; and generating run-time executable instructions for each instruction of said first set which is not contained in said second set, while generating no run-time executable instructions for the instructions of said second set.