RFR: 8163413: gc/metaspace/TestMetaspacePerfCounters failure
stefan.johansson at oracle.com
Mon Aug 22 13:16:04 UTC 2016
On 2016-08-22 14:31, Erik Helin wrote:
> On 2016-08-16, Stefan Johansson wrote:
>> Please review this test fix for:
> Looks ok, Reviewed.
>> The test failure is most likely caused by getting a GC in between the calls
>> to get the perf counter values. Since the values are updated during a GC
>> this might cause the values to break the assert conditions. To avoid this my
>> fix checks the number of GCs that have been done before and after getting
>> the values and only proceeds to doing the assertions if no GC occurred.
>> * Verified test both locally and with RBT.
More information about the hotspot-gc-dev