Patent ID: 7703101

Claim:
A computer program product for programmatically analyzing execution behavior of work units, the computer program product comprising at least one computer-usable storage media having computer-usable program code embodied therein for: recording, for each of a plurality of work units, information regarding each of at least one instrumented wait point encountered in code executed by that one of the work units; determining, for each of the plurality of work units from the recorded information, a set comprising the wait points encountered by that one of the work units; determining all unique ones of the determined sets of wait points; determining characteristics of the work units that encountered the wait points in each of the unique ones of the wait point sets; using the determined characteristics to programmatically build one or more recognizers which are adapted to recognizing those characteristics in arriving work units that are to be subsequently executed; executing the recognizers to programmatically recognize the characteristics in the arriving work units; and using the programmatically-recognized characteristics when allocating execution resources to the arriving work units.