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've been recently playing with the https://github.com/RedHatPerf/type-pollution-agent from @franz1981 and found that RabbitListenerAnnotationBeanPostProcessor - more specifically findListenerAnnotations - seems to be causing the TOP 3 for us during startup.
The method returns Collection (and has corresponding type cast internally), while it returns a List really. Everyone else in the traces seems to use largely List as well (see the next trace e.g.). Even if this is a false-positive in terms of actual type pollution it seems like a simple enough fix to be on the safe side. I'll provide a PR shortly where further discussion can happen, but I needed this issue to stick to the commit convention ;-)
Cheers,
Christoph
The text was updated successfully, but these errors were encountered:
Hi 👋
I've been recently playing with the https://github.com/RedHatPerf/type-pollution-agent from @franz1981 and found that
RabbitListenerAnnotationBeanPostProcessor
- more specificallyfindListenerAnnotations
- seems to be causing the TOP 3 for us during startup.The method returns
Collection
(and has corresponding type cast internally), while it returns aList
really. Everyone else in the traces seems to use largelyList
as well (see the next trace e.g.). Even if this is a false-positive in terms of actual type pollution it seems like a simple enough fix to be on the safe side. I'll provide a PR shortly where further discussion can happen, but I needed this issue to stick to the commit convention ;-)Cheers,
Christoph
The text was updated successfully, but these errors were encountered: