You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently noticed in our loadtests a small but noticeable heap pressure coming from Parameters and Parameter. Some ArrayLists are initialized without an initial capacity although they are known in those cases - which in the end is not critical but also not optimal. Additionally, there is one call to gather the return type of a method, that constructs a ClassTypeInformation and the underlying map for the type variables which could be saved in some cases.
Christoph Dreis opened DATACMNS-925 and commented
Hey,
I recently noticed in our loadtests a small but noticeable heap pressure coming from Parameters and Parameter. Some ArrayLists are initialized without an initial capacity although they are known in those cases - which in the end is not critical but also not optimal. Additionally, there is one call to gather the return type of a method, that constructs a ClassTypeInformation and the underlying map for the type variables which could be saved in some cases.
I attached a small PR to optimize those places.
Cheers,
Christoph
Referenced from: pull request #180
Backported to: 1.12.5 (Hopper SR5)
The text was updated successfully, but these errors were encountered: