mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8202662: JFR tests fails: Could not find leak with class
Reviewed-by: pliden, kbarrett
This commit is contained in:
parent
2ee56fd1cf
commit
816d8f4257
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ inline size_t ThreadLocalAllocBuffer::compute_size(size_t obj_size) {
|
|||
inline size_t ThreadLocalAllocBuffer::compute_min_size(size_t obj_size) {
|
||||
const size_t aligned_obj_size = align_object_size(obj_size);
|
||||
const size_t size_with_reserve = aligned_obj_size + alignment_reserve();
|
||||
return MAX2(size_with_reserve, MinTLABSize);
|
||||
return MAX2(size_with_reserve, heap_word_size(MinTLABSize));
|
||||
}
|
||||
|
||||
void ThreadLocalAllocBuffer::record_slow_allocation(size_t obj_size) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue