Patent ID: 9069832
Filing Date: 2015-06-30
Classification: G06F

Abstract:
1. A computer program product comprising a non-transitory machine-readable medium storing instructions that, when executed by a system comprising at least one programmable processor, cause the system to perform operations comprising: detecting, at design time, a programming object, the programming object comprising part of a server application that includes a plurality of other programming objects; identifying one or more memory management and synchronization characteristics of the programming object and extracting one or more memory management and synchronization constraints defined at design time for the programming object; matching the programming object to a matching memory management and synchronization pattern, the matching comprising comparing the one or more identified memory management and synchronization characteristics to a set of predefined memory management and synchronization patterns; reviewing the extracted one or more memory management and synchronization constraints against a predefined set of constraints associated with the matching memory management and synchronization pattern; and returning an error message if the one or more memory management and synchronization constraints defined for the programming object do not comprise the predefined set of constraints; wherein the matching memory management and synchronization pattern is selected from a thread-owned object pattern, a bootstrapped object pattern, a monitor object pattern, a monitor-owned object pattern, a value memory management pattern, a temp memory management pattern, an owned memory management pattern, a refcounted memory management pattern, an immortal memory management pattern, and a stack memory management pattern.