The logic of 'Arguments::set_tiered_flags' is very fragile and should be refactored (see JDK-8059653).
To improve usability of the segmented code cache it should be possible to set only one code heap size while the other code heap sizes are adapted according to the reserved code cache size.
I suggest moving this logic to 'CodeCache::initialize_heaps'.
To improve usability of the segmented code cache it should be possible to set only one code heap size while the other code heap sizes are adapted according to the reserved code cache size.
I suggest moving this logic to 'CodeCache::initialize_heaps'.
- duplicates
-
JDK-8061436 Processing of options related to segmented code cache should be enhanced
-
- Resolved
-
- relates to
-
JDK-8059653 VM startup fails with 'Invalid code heap sizes' if -XX:ReservedCodeCacheSize is set
-
- Closed
-
-
JDK-8015774 Add support for multiple code heaps
-
- Resolved
-