Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8279008

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 19
    • 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.

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

              Created:
              Updated:
              Resolved: