Folks,

please see https://github.com/resteasy/Resteasy/pull/841 . Basically I didn't like that much the fact that we are allocating a map for each resource invoker match, considering that's used only for reporting a warning in case multiple methods match (which afaiu is not the normal / usual scenario). The idea of the fix is to actually create and start adding stuff to a set only when the 2nd different (object reference wise) method is matched.

Any feedback is appreciated.

Cheers

Alessio


-- 
Alessio Soldano
Web Service Lead, JBoss