Inventors:
Gregory Nakhimovsky - Wakefield MA
Assignee:
Sun Microsystems, Inc. - Palo Alto CA
International Classification:
G06F 1206
Abstract:
A method of allocating memory in a multithreaded (parallel) computing environment in which threads running in parallel within a process are associated with one of a number of memory pools of a system memory. The method includes the steps of establishing memory pools in the system memory, mapping each thread to one of the memory pools; and, for each thread, dynamically allocating user memory blocks from the associated memory pool. The method allows any existing memory management malloc package to be converted to a multithreaded version so that multithreaded processes are run with greater efficiency.