RFR: 8024718: Metaspace performance counters and memory pools should report the same data

Stefan Karlsson stefan.karlsson at oracle.com
Tue Sep 17 05:40:52 PDT 2013

On 09/12/2013 11:46 PM, Erik Helin wrote:
> Hi all,
> this patch fixes some issues with memory pools and the performance
> counter reporting slightly different numbers for metaspace. I've also
> updated two jtreg tests as well as added a new one to test the change.
> InputArguments.java in the testlibrary is updated as well.
> InputArguments.contains now takes a prefix as a parameter instead of the
> exact name of a flag. This makes it possible to check if a flag expecting
> a value has been set. For example, -XX:MaxMetaspaceSize=100m can be
> checked by running InputArguments.contains("-XX:MaxMetaspaceSize").
> Webrev:
> http://cr.openjdk.java.net/~ehelin/8024718/webrev.00/

The vm code looks good. I just briefly looked at the test code, but you 
already have Reviewers for that.


> Testing:
> - JPRT
> - hotspot/test/gc (including updated and new tests)
> Thanks,
> Erik

More information about the hotspot-dev mailing list