RFR (XS) 8153277: [TESTBUG] gc/arguments/TestMaxMinHeapFreeRatioFlags is too sensitive for stray allocations in verifyRatio
dmitry.fazunenko at oracle.com
Fri Apr 1 14:56:55 UTC 2016
The change looks good.
Pls, fix the copyright before push.
On 01.04.2016 16:59, Aleksey Shipilev wrote:
> Please review a preemptive fix in TestMaxMinHeapFreeRatioFlags test.
> This failure only reproduces when you switch the JEP 280 concat strategy
> to something more advanced than it is now.
> The test would fail if we silently bring more objects in the heap in the
> middle of the test. Notably, this will happen inside of verifyRatio
> helper method which does a String concat -- on first invocation it will
> lazily initialize j.l.invoke infra. We need to prime the utility methods
> before using them within the test.
> Testing: offending test; going to run JPRT -testset hotspot during a push.
More information about the hotspot-gc-dev