mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
Fix builds
This commit is contained in:
parent
de74648202
commit
9999bf7bd2
@ -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;
|
||||
}
|
||||
|
||||
@ -26,6 +26,7 @@
|
||||
#ifndef SHARE_RUNTIME_HOTCODEGROUPER_HPP
|
||||
#define SHARE_RUNTIME_HOTCODEGROUPER_HPP
|
||||
|
||||
#include "code/codeCache.hpp"
|
||||
#include "runtime/nonJavaThread.hpp"
|
||||
|
||||
class ThreadSampler;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user