[ 
https://issues.apache.org/jira/browse/OFBIZ-5170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13946603#comment-13946603
 ] 

Jacopo Cappellato commented on OFBIZ-5170:
------------------------------------------

{quote}At first I replaced all FastList instances with java.util.ArrayList. 
Profiling the change indicated longer AST. Then I replaced all FastList 
instances with java.util.LinkedList. Profiling the change indicated a shorter 
AST.{quote}

Adrian, this is interesting. However, the problem of selecting the best 
implementation for a List, doesn't have one solution that is valid in all the 
situations: for some usages arrays (i.e. ArrayList) are better, in some others 
linked lists (i.e. LinkedList) are better.
But I agree that it makes more sense to benchmark FastList with LinkedList 
rather than ArrayList because FastList is also a linked list implementation.

> Profiling OFBiz
> ---------------
>
>                 Key: OFBIZ-5170
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5170
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk
>            Reporter: Adrian Crum
>            Priority: Minor
>         Attachments: HotSpotSettings.PNG, HotSpots_Rev_1464779.csv
>
>
> I will be using this issue to share the things I learn while profiling OFBiz 
> to study the impact of removing Javolution.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to