Patent ID: 6959430

Claim:
A method for creating Java objects in a heap memory which is used by a virtual machine, said method comprising: generating, by said virtual machine, a plurality of d signated Java heap portions which are each designated for storing objects that have similar class-traits, wherein said plurality of designated Java heaps include a first designated heap portion that is designated to store objects associated with a first class name, and a second designated heap portion that is designated to store objects associated with a second class name, and wherein said first and second class names are different; receiving, by said virtual machine, a Java Bytecode that represents an instruction for creating a first Java object of said first class name; translating, by said virtual machine, said Java Bytecode into one or more commands, wherein said one or more commands can operate to allocate said first Java object in said first designated heap portion; and receiving, by said virtual machine, another Java Bytecode representing an instruction for creating a second Java object of said second class name; translating, by said virtual machine, said other Java Bytecode into one or more other commands, and wherein said one or more other commands can operate to allocate said second Java object in said second designated heap portion; executing, by said virtual machine, said one or more commands to create said first object in said first designated heap portion; and executing said other one or more commands to create said second object in said second designated heap portion.