You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Ruslan Cheremin (JIRA)" <ji...@apache.org> on 2016/08/29 19:45:20 UTC

[jira] [Created] (LANG-1262) CompareToBuilder.append(Object,Object,Comparator) method is too big to be inlined

Ruslan Cheremin created LANG-1262:
-------------------------------------

             Summary: CompareToBuilder.append(Object,Object,Comparator) method is too big to be inlined
                 Key: LANG-1262
                 URL: https://issues.apache.org/jira/browse/LANG-1262
             Project: Commons Lang
          Issue Type: Bug
          Components: lang.builder.*
    Affects Versions: 3.4
            Reporter: Ruslan Cheremin


Issue is the same as in https://issues.apache.org/jira/browse/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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)