1. A method performed by a computer processor, said method comprising: receiving a first executable code; monitoring said first executable code in a first execution environment, said first executable code having a plurality of processes; receiving a set of process types, each of said process types having a set of garbage collection settings; classifying each of said plurality of processes and assigning a process type, each of said plurality of processes having a process type; creating a tagged version of said first executable code comprising tags for each of said processes identifying said process type; and executing said tagged version of said first executable code such that each process is executed using a set of garbage collection settings associated with said process type.