OpenJDK / jdk / jdk
changeset 56185:5f5ca2e02f6e
8230646: Epsilon does not extend TLABs to max size
Reviewed-by: tschatzl, zgu
author | shade |
---|---|
date | Thu, 05 Sep 2019 19:24:53 +0200 |
parents | 86b95fc6ca32 |
children | 12885822f0c5 |
files | src/hotspot/share/gc/epsilon/epsilonHeap.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/hotspot/share/gc/epsilon/epsilonHeap.cpp Thu Sep 05 13:56:17 2019 +0200 +++ b/src/hotspot/share/gc/epsilon/epsilonHeap.cpp Thu Sep 05 19:24:53 2019 +0200 @@ -110,8 +110,8 @@ size_t EpsilonHeap::unsafe_max_tlab_alloc(Thread* thr) const { // Return max allocatable TLAB size, and let allocation path figure out - // the actual TLAB allocation size. - return _max_tlab_size; + // the actual allocation size. Note: result should be in bytes. + return _max_tlab_size * HeapWordSize; } EpsilonHeap* EpsilonHeap::heap() {