8358104: Fix ZGC compilation error on GCC 10.2

Reviewed-by: kbarrett, jsikstro
This commit is contained in:
Qizheng Xing 2025-05-30 09:41:08 +00:00 committed by Joel Sikström
parent 566e3b21ed
commit a0eb1900c9

View File

@ -556,7 +556,7 @@ size_t ZMappedCache::remove_discontiguous_with_strategy(size_t size, ZArray<ZVir
ZMappedCache::ZMappedCache()
: _tree(),
_size_class_lists{},
_size_class_lists(),
_size(0),
_min(_size) {}