Patent ID: 6970893
Filing Date: 2005-11-29
Classification: G06F,Y10S

Abstract:
1. A process for optimizing the distribution of software methods within the memory space of a computer system or virtual machine, wherein said virtual machine includes one or more threads, comprising the steps of: determining, within a set of methods originally distributed within the memory space of said virtual machine, a selection of said methods to be regenerated, wherein said step of determining includes analyzing the thread stacks to determine those methods currently required by the threads; creating regenerated methods, and replacing references to each method in the selection with references to the regenerated method, wherein said step of creating regenerated methods includes stopping the threads and recreating at an alternate memory address a copy of the methods required by that thread; and, erasing those methods that have not been regenerated, and releasing the portion memory space occupied by the non-regenerated methods.