1. A method comprising: receiving, by a processing device of virtual machine, bytecode comprising a bytecode object and a garbage collection descriptor associated with the bytecode object, the garbage collection descriptor comprising an identifier of a garbage collection rule stored in a garbage collection rule database, wherein the garbage collection rule database stores a plurality of garbage collection rules specifying garbage collections to be performed on bytecode objects; responsive to determining that the garbage collection descriptor indicates a first type of garbage collection in view of the garbage collection rule associated with the identifier in the garbage collection descriptor, storing the bytecode object in a first region of a memory associated with the processing device, wherein the first region is utilized for storing a first set of bytecode objects that have persisted for fewer than a determined number of rounds of garbage collection operations; responsive to determining that the garbage collection descriptor indicates a second type of garbage collection in view of the garbage collection rule associated with the identifier in the garbage collection descriptor, storing the bytecode object directly in a second region of the memory associated with the processing device bypassing the first region, wherein the second region is utilized for storing a second set of bytecode objects that have persisted for at least the determined number of rounds of garbage collection operations in the first region; responsive to determining that the garbage collection descriptor indicates a third type of garbage collection in view of the garbage collection rule associated with the identifier in the garbage collection descriptor, storing the bytecode object directly in a third region of the memory associated with the processing device bypassing the first region and second region, wherein the third region is to store a third set of bytecode objects until the third set of bytecode objects are destructed responsive to a class, associated with each of the third set of bytecode objects, being unloaded from the virtual machine; and performing the garbage collection operation on the bytecode object in accordance with the garbage collection descriptor.