Review request: 8025996: Track metaspace usage when metaspace is expanded

Coleen Phillimore coleen.phillimore at
Tue Oct 8 14:19:15 PDT 2013

This looks good.  Still working on your other review.

On 10/08/2013 04:58 AM, Stefan Karlsson wrote:
> Previously, the Metaspace memory usage was only tracked at the end of 
> the GCs. This causes the MemoryPoolMXBean.getUsageThreshold(…) 
> functionality to fail for the Metaspace memory pools. This patch adds 
> tracking of Metaspace usage when a new Metachunk is fetched.
> This patch builds upon the patch in:
> Review request: 8024547: MaxMetaspaceSize should limit the committed 
> memory used by the metaspaces
> This patch has been tested with the fix for:
> NPG: Fix java/lang/management/MemoryMXBean/LowMemoryTest2
> The fix for 7196801 will be done in a separate review request since 
> the test is located in jdk repository and the fix for 8025996 is done 
> in the hotspot repository.
> thanks,
> StefanK

More information about the hotspot-dev mailing list