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

Remove dictionary NULL check on common path of BlockFreeList methods

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 8, 9
    • hotspot
    • None
    • b66
    • generic

        Dictionary in BlockFreeList is a commonly accessed data structure and can be allocated when BlockFreeList is created.
        By doing this, we can remove extra branches to check if dictionary() is null.
        I observed that this change improved execution time of DaCapo benchmark by 3% in the average.

              jwha Jungwoo Ha
              jwha Jungwoo Ha
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: