Patent Number: 7,765,527

Title: Per thread buffering for storing profiling data

Abstract: A method, system and computer program product for collecting profiling information during runtime of a multithreaded program. According to the method, a plurality of instructions of the program for execution in an application thread are first received; a plurality of variable size profiling records are then stored in a buffer assigned exclusively to the application thread during execution of the plurality of instructions; and the plurality of profiling records in the buffer are then processed. The program may be written in Java bytecode for execution in a Java virtual machine with the processing of profiling buffers performed by a component of a JIT compiler for insertion into a repository in internal JIT format, e.g. a hash table, for later optimization processing.

Inventors: Burka; Peter W. (Ottawa, CA), Inglis; Derek B. (Markham, CA), Grcevski; Nikola (Toronto, CA)

Assignee: International Business Machines Corporation

International Classification: G06F 9/44 (20060101)

Expiration Date: 7/27/12018