[9] RFR(S): 8060479: [TESTBUG] compiler/codecache/CheckSegmentedCodeCache.java test fails with product build

Tobias Hartmann tobias.hartmann at oracle.com
Wed Oct 15 14:19:57 UTC 2014


Hi,

please review the following patch.

Bug: https://bugs.openjdk.java.net/browse/JDK-8060479
Webrev: http://cr.openjdk.java.net/~thartmann/8060479/webrev.00/

Problem:
The test CheckSegmentedCodeCache assumes that VM startup always fails with a 
ReservedCodeCacheSize of 1700K. This is not true for product builds (see 
'min_code_cache_size' in 'CodeCache::initialize_heaps()').

Solution:
Check for debug build and adjust minimum code cache size accordingly.

Testing:
Failing test on JPRT.

Thanks,
Tobias


More information about the hotspot-compiler-dev mailing list