Skip to main content

G1 and java.lang.management API?

No replies
jrmacmillan
Offline
Joined: 2009-01-30

I suspect this is one of those "yeah, yeah, we know" things, but I wanted to make sure.

The preview of the G1 collector in 6u14 does not expose any heap memory pools through the management API. To see this, connect jconsole to an application running with G1 and look at the Memory tab; all you see is non-heap Code Cache pool.

Is this just not implemented yet, an oversight, or something else?

I hope it's one of the first two; I mean G1 has a heap, after all, even if the young / old regions are intermingled, right?