1. A system, comprising: a processor; memory; and a virtual machine; wherein the processor and the memory are configured to facilitate providing a virtual machine profiler interface that communicates information regarding activities of a garbage collector, and a profiler that reports the activities; wherein the virtual machine creates a plurality of arenas within a heap to facilitate garbage collection; wherein the profiler comprises a profiler agent for providing at least one of a request for specific types of events and information or an enablement notification of specific types of events and information; and wherein at least one event is used to dynamically manage garbage collection in the heap, wherein said at least one event is independent of any algorithm for dynamically managing garbage collection in the heap, thereby supporting any implemented garbage collection methods.