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.

    EFFICIENT COMPILATION SYSTEM AND METHOD FOR VIRTUAL FUNCTION TABLE CREATION

    公开(公告)号:CA2875046A1

    公开(公告)日:2016-06-15

    申请号:CA2875046

    申请日:2014-12-15

    Abstract: A system, method, and data processing device-readable medium are provided for facilitating execution of software including virtual function tables. During class loading in a runtime environment, respective depths for interfaces implemented by a given class are stored, and the interfaces sorted according to their respective depths. Each of the interfaces and the methods specified by the methods are processed according to the sort order, and a virtual function table is updated appropriately based on the existing content of the virtual function table.

    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