SERIALIZATION OF PRE-INITIALIZED OBJECTS

    公开(公告)号:CA2759516C

    公开(公告)日:2019-12-31

    申请号:CA2759516

    申请日:2011-11-24

    Abstract: An illustrative embodiment of a computer-implemented process for serialization of pre-initialized objects receives source code definitions of a class, identifies a set of constants associated with the class in the source code to form a set of identified constants, creates a result object for each object in the set of identified constants and compiles the source code into a compiled form of the class. The computer-implemented process further serializes each result object into a resource file associated with the class to form a set of serialized objects and replaces, in the compiled form of the class, each reference to a respective constant associated with the class from the set of identified constants with a corresponding dynamic instruction using a respective serialized object in the set of serialized objects.

    SOFTWARE OBJECT LOCK MANAGEMENT USING OBSERVATIONS

    公开(公告)号:CA2693938A1

    公开(公告)日:2011-08-22

    申请号:CA2693938

    申请日:2010-02-22

    Applicant: IBM CANADA

    Inventor: BURKA PETER W

    Abstract: An illustrative embodiment of a computer-implemented process for software object lock management using observations, loads a class containing class information for a state and a lock count, allocates an instance of an object using the class information for the state to form an instance, receives a lock request associated with the instance, and selects a runtime behavior associated with the instance according to the class information. The computer-implemented process determines whether the lock count is greater than a threshold value, and responsive to a determination that the lock count is not greater than a threshold value, sets the class information for the state to non-locking and removes a lock field from the instance.

    SERIALIZATION OF PRE-INITIALIZED OBJECTS

    公开(公告)号:CA2759516A1

    公开(公告)日:2013-05-24

    申请号:CA2759516

    申请日:2011-11-24

    Applicant: IBM CANADA

    Abstract: An illustrative embodiment of a computer-implemented process for serialization of pre-initialized objects receives source code definitions of a class, identifies a set of constants associated with the class in the source code to form a set of identified constants, creates a result object for each object in the set of identified constants and compiles the source code into a compiled form of the class. The computer-implemented process further serializes each result object into a resource file associated with the class to form a set of serialized objects and replaces, in the compiled form of the class, each reference to a respective constant associated with the class from the set of identified constants with a corresponding dynamic instruction using a respective serialized object in the set of serialized objects.

Patent Agency Ranking