Patent ID: 9740716
Date: 2017-08-22
CPC Classifications: G06F

Claim:
1. A system for garbage collection based on software objects stored in heap regions, the system comprising: a computing device which includes a processor, a virtual machine, and a heap for storage of compiled bytecode as software objects, and that enables one or more software applications to be executed thereon; wherein the virtual machine comprises a plurality of garbage collectors implementing different garbage collection methods and selected from a serial garbage collector, a parallel garbage collector, a parallel compacting garbage collector, a concurrent mark-sweep garbage collector, a copying garbage collector, and a non-moving garbage collector; wherein the heap comprises a plurality of regions for storing software objects; wherein each software object allocated by a software application is placed, by the virtual machine, into a region of the plurality of regions of the heap based on an instrumentation of the software application corresponding to the software object, including placement of particular software objects comprising compiled bytecode into different regions of the plurality of regions of the heap; wherein the virtual machine determines object statistics for each of the plurality of regions of the heap to determine object types therein; and wherein the virtual machine performs garbage collection on each region of the plurality of regions of the heap by