SYSTEM AND METHODS FOR OPTIMIZING COMPILED CODE ACCORDING TO CODE OBJECT PARTICIPATION IN PROGRAM ACTIVITIES

Patent №

US 5,579,520

Granted

1996-11-26

Filed 1994

Owner

BORLAND INTERNATIONAL, INC. (A DELAWARE CORPORATION)

Lab

AI components

1

hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

08242561

A development system having a compiler, a linker, an interface, and a code packing optimization module is described. The compiler generates or "compiles" source listings into object modules, which may be linked or combined with other object modules (e.g., stored in "library" files) to create an executable program. The optimization module embodies activity-based methods for generating a profile bitmap for a program of interest, to identify related code objects (i.e., procedures, functions, routines, and the like) based on clustering of activity bit signatures, so that related ones may be packed together in the executable program. A run of a program to be optimized is divided into a plurality of activities, typically those which are core to the operation of the program. A profile bitmap of the program is generated by running the target program through the various activities: for each code object "hit" during an activity a corresponding bit is set. In this manner, a bit signature is generated for each code object indicating which activities the code object has participated in. These patterns are then ordered, for identifying code objects of the program which should be clustered together. Given this order, related procedures may be located in contiguous or near-contiguous pages of the program by ordering them based on their bitmap signatures. In this manner, the efficiency of information retrieval operations (e.g., disk access, caching, and the like) is maximized.

AI hardwareG06F 8/443G06F 8/54

AI classification

AI hardware0.88
Planning0.03
Natural language0.02
Machine learning0.02
Knowledge representation0.01
Evolutionary computation0.00
Vision0.00
Speech0.00

Ownership

BORLAND INTERNATIONAL, INC. (A DELAWARE CORPORATION)

assignment · 70580126

Assignors

BENNETT, JOHN G.

On an employer assignment, the assignors are typically the inventors.

© 2026 NYSGPT2525 LLC