RFR(XS): 8157498 - compiler/codecache/jmx/InitialAndMaxUsageTest.java times out on 32-bit platforms

Dmitrij Pochepko dmitrij.pochepko at oracle.com
Mon Aug 1 13:24:50 UTC 2016


Hi,

please review small fix for 8157498 - 
compiler/codecache/jmx/InitialAndMaxUsageTest.java times out on 32-bit 
platforms

Test timeout because of bug in internal logic. Allocation size 
calculated as 0 in some cases, so, even multiplied by 1 million it's a 0 
and it leads to extremely long further allocation loop execution 
resulting to timeout. This fix change minimal value to 1.

webrev: http://cr.openjdk.java.net/~dpochepk/8157498
CR: https://bugs.openjdk.java.net/browse/JDK-8157498

I've tested fix on reported configurations.

Thanks,
Dmitrij


More information about the hotspot-compiler-dev mailing list