Copyright © 2004, Aonix
20
VM Management API
•A Java virtual machine represents considerable complexity
–Achieving optimal performance depends on understanding and controlling what goes on “under the hood”
•The PERC VM Management API allows software to:
–Query and modify maximum number of heap regions
–Query and modify frequency and priority at which increments of garbage collection are performed
–Determine which synchronization monitors are locked by which threads, and which threads are waiting
–Determine how much time the VM is idle, and how much CPU time is consumed at each priority level
–And various other services…
•The PERC shell provides a remote command-line interface to the Management API services
–