Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-1262

CompareToBuilder.append(Object,Object,Comparator) method is too big to be inlined

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4
    • 3.5
    • lang.builder.*
    • None

    Description

      Issue is the same as in LANG-1218: CompareToBuilder.append(Object,Object,Comparator) is quite big, due to in-place arrays processing, and thus breaching inlining threshold (325 bytecodes):

      ....
      o.a.c.l.b.CompareToBuilder::append (346 bytes)   hot method too big
      ....
      

      This prevents CompareToBuilder object itself from being scalarized.

      Fix may be the same, as in LANG-1218: extract arrays processing into separate method.

      Attachments

        Activity

          People

            pascalschumacher Pascal Schumacher
            cheremin Ruslan Cheremin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: