peng-yongsheng commented on issue #3021: Using ArryList instead of LinkedList URL: https://github.com/apache/skywalking/pull/3021#issuecomment-510445502 > Thank @kezhenxu94 for your suggestion and help. > Those are the code and the result of benchmark tests. Although it is not too strict. > >  > >  Hi, @dmsolr From the implementation of the ArrayList and LinkedList in JDK, the LinkedList create node object to store data and reference to the next node, LinkedList creates much more node instance. So, LinkedList will collect more garbage than ArrayList. What's the purpose of comparing this?
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
