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

C1: x86: Optimize type profile helper

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 25
    • hotspot

      Current C1 LIR_Assembler::type_profile_helper performs two linear scans (of TypeProfileWidth width) looking for MDO slot to update the type profile. This takes considerable space in generated code, especially with larger TypeProfileWidth-s.

      We can optimize the type profile helper for code density. We do not care *all too much* about minute differences in performance of this check, at it runs only for profiling in tier3 compiled code.

      Draft PR: https://github.com/openjdk/jdk/pull/24491

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: