G1: Calculate BOT threshold on-the-fly during Object Copy phase

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 19
    • Affects Version/s: 19
    • Component/s: hotspot
    • gc
    • b07

      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.

            Assignee:
            Albert Yang
            Reporter:
            Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: