Looking at how direct-alloc (`HeapRegion::update_bot_at`) works, one can see BOT `threshold` is essentially the align_up of `obj_start`. Therefore, instead saving `threshold` in a field, it's possible to calculate it on the fly, thus, unifying PLAB and direct-alloc path.
- relates to
-
JDK-8280458 G1: Remove G1BlockOffsetTablePart::_next_offset_threshold
-
- Resolved
-