

A Java computing environment as recited in claim 6, wherein said deleting of said first initialization method is performed by said class loader while at least one other method associated with said Java class is loaded by said virtual machine.Ĩ. A Java computing environment comprising: a Java virtual machine suitable for loading and execution of Java class files a Java class loader operating to: load a first initialization method associated with a first Java class into a memory portion of said Java virtual machine, said first initialization method capable of initializing said first Java class when executed set a monitor suitable for synchronization to a first state when said first initialization method has been loaded, wherein the monitor is usable as a synchronization mechanism to allow the Java virtual machine to know when the first initialization method has been loaded and is ready for execution execute said first initialization method after said first initialization method has been loaded into said memory portion of said Java virtual machine, thereby initializing said first Java class after the first initialization method has been executed, setting said monitor to a second state when said first initialization method has been executed and delete said first initialization method from said memory portion, based upon said monitor being in said second state, after said execution of said first initialization method has been completed, whereby the first initialization method is deleted independent of the loaded class.ħ. A method as recited in claim 1, wherein said memory portion is a buffer of a predetermined size and wherein said buffer is allocated in a local memory portion of said Java class loader.Ħ. A method as recited in claim 1, wherein said first initialization method is executed only when said monitor is in said first state and wherein said deleting of said first initialization method from said memory portion by said Java class loader operates to overwrite said memory portion with a second initialization method associated with a second Java class when said monitor is in said second state.ĥ. A method as recited in claim 1, wherein said deleting of said first initialization method from said memory portion operates to overwrite said memory portion with a second initialization method associated with a second Java class.Ĥ. A method as recited in claim 1, wherein said deleting of said first initialization method is preformed while at least one other method associated with said Java class is loaded by said class loader of said Java virtual machine.ģ.

In a Java computing environment, a method of initializing Java classes in a Java class file suitable for loading by a Java virtual machine operating in the Java computing environment, said method comprising: by a Java class loader, loading a first initialization method associated with a first Java class into a memory portion of said Java virtual machine, said first initialization method capable of initializing said first Java class when executed setting a monitor suitable for synchronization to a first state when said first initialization method has been loaded, wherein the monitor is usable as a synchronization mechanism to allow the Java virtual machine to know when the first initialization method has been loaded and is ready for execution executing said first initialization method after said first initialization method has been loaded into said memory portion of said Java virtual machine, thereby initializing said first Java class after the first initialization method has been executed, setting said monitor to a second state when said first initialization method has been executed and by the Java class loader, deleting said first initialization method from said memory portion, based upon said monitor being in said second state, after said execution of said first initialization method has been completed, whereby the first initialization method is deleted independent of the loaded class.Ģ.
