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

Optimize CmpP for allocations

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • hs12
    • hs12
    • hotspot
    • b02
    • sparc
    • solaris_10
    • Not verified

        jvm2008 'serial' benchmark has code which calls String.equals(str1, str2)
        for 2 strings produced by StringBuilder.toString(). The first check in String.equals()
        could be optimized out since during the compilation due to inlining we know that
        it compares 2 newly allocated strings.

              kvn Vladimir Kozlov
              kvn Vladimir Kozlov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: