Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/hotspot/share/code/codeCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ void CodeCache::initialize_heaps() {

// Validation
// Check minimal required sizes
check_min_size("non-nmethod code heap", non_nmethod.size, non_nmethod_min_size);
check_min_size("non-nmethod code heap", non_nmethod.size, min_cache_size);
if (profiled.enabled) {
check_min_size("profiled code heap", profiled.size, min_size);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public static void main(String[] args) throws Exception {
"-XX:ReservedCodeCacheSize=" + minSize,
"-XX:InitialCodeCacheSize=100K",
"-version");
failsWith(pb, "Not enough space in non-nmethod code heap to run VM");
failsWith(pb, "Invalid code heap sizes");

// Try different combination of Segment Sizes

Expand Down