摘要:
A system and method for providing virtual machine diagnostic information. In accordance with an embodiment, a “flight recorder”, for use with a virtual machine, such as a Java virtual machine (JVM), allows a system administrator, software developer or other user experiencing a system problem to “go back in time” and analyze what happened right before a particular problem occurred in their system, and/or obtain an extremely detailed level of profiling without impacting system performance. The flight recorder does this by being tightly integrated into the core of the JVM itself, and by being very conscious of its performance overhead. This allows the flight recorder to provide a large amount of information on the inner workings of the JVM, and on Java programs running in the JVM.
摘要:
A system and method for providing virtual machine diagnostic information. In accordance with an embodiment, a “flight recorder”, for use with a virtual machine, such as a Java virtual machine (JVM), allows a system administrator, software developer or other user experiencing a system problem to “go back in time” and analyze what happened right before a particular problem occurred in their system, and/or obtain an extremely detailed level of profiling without impacting system performance. The flight recorder does this by being tightly integrated into the core of the JVM itself, and by being very conscious of its performance overhead. This allows the flight recorder to provide a large amount of information on the inner workings of the JVM, and on Java programs running in the JVM.
摘要:
A system for thread local garbage collection in a virtual machine environment, comprising: a virtual machine for executing a software application; a memory space for use by the virtual machine in storing software objects and pointers as part of the software application, divided into a global heap and several thread local heaps; a heap maintaining logic that keeps the global heap and the thread local heaps in a state suitable for efficient garbage collecting; and a garbage collector that can collect the thread local heaps in parallel with only the stop-the-world pauses for the global heap.
摘要:
A system for thread local garbage collection in a virtual machine environment, comprising: a virtual machine for executing a software application; a memory space for use by the virtual machine in storing software objects and pointers as part of the software application, divided into a global heap and several thread local heaps; a heap maintaining logic that keeps the global heap and the thread local heaps in a state suitable for efficient garbage collecting; and a garbage collector that can collect the thread local heaps in parallel with only the stop-the-world pauses for the global heap.