-
Bug
-
Resolution: Fixed
-
P1
-
9
-
b40
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8083450 | emb-9 | Tobias Hartmann | P1 | Resolved | Fixed | b40 |
The test 'compiler/codecache/CheckSegmentedCodeCache.java' fails in PIT with 'Not enough space in non-nmethod code heap to run VM' missing from stdout/stderr.
The problem is that the test expects the VM to always exit with an error message at startup if a ReservedCodeCacheSize of 1700K is specified:
Command line: [java -XX:+SegmentedCodeCache -XX:ReservedCodeCacheSize=1700K -XX:InitialCodeCacheSize=100K ]
This is only true for debug builds but does not hold for product builds (see 'min_code_cache_size' in 'CodeCache::initialize_heaps()'). The test has to check for the build type and adjust the ReservedCodeCacheSize accordingly to trigger the error message.
The problem is that the test expects the VM to always exit with an error message at startup if a ReservedCodeCacheSize of 1700K is specified:
Command line: [java -XX:+SegmentedCodeCache -XX:ReservedCodeCacheSize=1700K -XX:InitialCodeCacheSize=100K ]
This is only true for debug builds but does not hold for product builds (see 'min_code_cache_size' in 'CodeCache::initialize_heaps()'). The test has to check for the build type and adjust the ReservedCodeCacheSize accordingly to trigger the error message.
- backported by
-
JDK-8083450 [TESTBUG] compiler/codecache/CheckSegmentedCodeCache.java test fails with product build
-
- Resolved
-
- is blocked by
-
JDK-8061443 Whitebox get*VMFlag() methods fail with develop flags in product builds
-
- Resolved
-