Skip to content

Commit ea39f93

Browse files
committed
minor update
1 parent 9bd9da9 commit ea39f93

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/hotspot/share/code/codeCache.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ static bool check_min_size(const char *codeheap, size_t size, size_t required_si
182182
if (size >= required_size) {
183183
return true;
184184
} else {
185-
log_debug(codecache)("CodeCache minimum size fail for %s %lld vs %lld",
186-
codeheap, (long long) size, (long long) required_size);
185+
log_debug(codecache)("Code heap (%s) size " SIZE_FORMAT " below required minimal size " SIZE_FORMAT,
186+
codeheap, size, required_size);
187187
err_msg title("Not enough space in %s to run VM", codeheap);
188188
err_msg message(SIZE_FORMAT "K < " SIZE_FORMAT "K", size/K, required_size/K);
189189
vm_exit_during_initialization(title, message);
@@ -241,8 +241,8 @@ void CodeCache::initialize_heaps() {
241241

242242
// Prerequisites
243243
if (!heap_available(CodeBlobType::MethodProfiled)) {
244-
// For compatibility reason, disabled tiered compilation overrides
245-
// segment size ever if it was set explicitly.
244+
// For compatibility reasons, disabled tiered compilation overrides
245+
// segment size even if it is set explicitly.
246246
non_profiled.size += profiled.size;
247247
// Profiled code heap is not available, forcibly set size to 0
248248
profiled.size = 0;

0 commit comments

Comments
 (0)