Fix builds

This commit is contained in:
Chad Rakoczy 2026-01-14 01:14:09 +00:00
parent de74648202
commit 9999bf7bd2
2 changed files with 3 additions and 2 deletions

View File

@ -144,7 +144,7 @@ void HotCodeGrouper::do_grouping(ThreadSampler& sampler) {
}
if (!hot_heap_has_space(nm->size())) {
log_info(hotcodegrouper)("Not enough space in HotCodeHeap (%ld bytes) to relocate nm (%d bytes). Bailing out",
log_info(hotcodegrouper)("Not enough space in HotCodeHeap (%zd bytes) to relocate nm (%d bytes). Bailing out",
hot_code_heap->unallocated_capacity(), nm->size());
return;
}
@ -197,7 +197,7 @@ void HotCodeGrouper::do_grouping(ThreadSampler& sampler) {
}
if (!hot_heap_has_space(actual_dest_nm->size())) {
log_info(hotcodegrouper)("Not enough space in HotCodeHeap (%ld bytes) to relocate nm (%d bytes). Bailing out",
log_info(hotcodegrouper)("Not enough space in HotCodeHeap (%zd bytes) to relocate nm (%d bytes). Bailing out",
hot_code_heap->unallocated_capacity(), actual_dest_nm->size());
return;
}

View File

@ -26,6 +26,7 @@
#ifndef SHARE_RUNTIME_HOTCODEGROUPER_HPP
#define SHARE_RUNTIME_HOTCODEGROUPER_HPP
#include "code/codeCache.hpp"
#include "runtime/nonJavaThread.hpp"
class ThreadSampler;