Question about MemoryService class.
Mandy.Chung at Sun.COM
Fri Feb 6 14:15:08 PST 2009
Colin(Du Li) wrote:
>Could you give me some information about MemoryService in hotspot. It seems
>like a tool to monitor the memory usage, right? But it only support 2
>generations. I wanna divide the heap into three generations, so it gives me
>error information. Can I turn it off? Will it cause problems if I turn it
>off. How can I turn it off without side effect?
The memoryService and memory pool implementation is the VM support for
the java.lang.management API.
You need to change the current implementation to support 3 generations.
The memory pool/service implementation is not limited to 2 generations.
>Thanks a lot!
More information about the hotspot-dev