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

Shenandoah: Inline LRB runtime call

XMLWordPrintable

    • gc
    • b18
    • generic
    • generic

        Currently, the LRB slow-path call does 2-3 calls in a row:
        compiled code -> runtime entry
        runtime entry -> ShBS::load_reference_barrier_mutator()
        ShBS::lrb_mutator() -> ShBS::lrb_mutator_work()

        The first in unavoidable, but none of the other two are marked inlined and are in a separate compilation-unit. Further, the middle-call is not needed. We can call straight from ShRuntime into the templated-inlined lrb_mutator() method.

              rkennke Roman Kennke
              rkennke Roman Kennke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: