New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#222 introduced a major performance regression #271
Comments
Would it be possible to revert the commit for now? Seems like the performance regression is a lot more severe than the memory leak. |
I've reverted the commit. |
Awesome @chibash. Any chance that commit could be cherrypicked into 3.25.0-GA as 3.25.1-GA or a new release be pushed? Thanks |
It should be soon. by the end of September? |
Sounds good, thanks! |
3.25 fixes: - jboss-javassist/javassist#72 - jboss-javassist/javassist#241 - jboss-javassist/javassist#242 - jboss-javassist/javassist#246 - jboss-javassist/javassist#252 3.26 fixes: - jboss-javassist/javassist#265 - jboss-javassist/javassist#270 - jboss-javassist/javassist#271 - jboss-javassist/javassist#275 Of these #270 is most important, as it fixes an issue we've seen with powermock downstream. Change-Id: Ib4d75d6411e71438436249a8eb9313ccf4411ca2 Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Some more details. I tested When the In the profile picture we can see that almost all the time taken by If we only need to check if the class is there or not, then an This made our compilation jump from 3m back to the original 20s in Please be so kind and merge this as |
3.25 fixes: - jboss-javassist/javassist#72 - jboss-javassist/javassist#241 - jboss-javassist/javassist#242 - jboss-javassist/javassist#246 - jboss-javassist/javassist#252 3.26 fixes: - jboss-javassist/javassist#265 - jboss-javassist/javassist#270 - jboss-javassist/javassist#271 - jboss-javassist/javassist#275 Of these #270 is most important, as it fixes an issue we've seen with powermock downstream. Change-Id: Ib4d75d6411e71438436249a8eb9313ccf4411ca2 Signed-off-by: Robert Varga <robert.varga@pantheon.tech> (cherry picked from commit 6a404f1)
3.25 fixes: - jboss-javassist/javassist#72 - jboss-javassist/javassist#241 - jboss-javassist/javassist#242 - jboss-javassist/javassist#246 - jboss-javassist/javassist#252 3.26 fixes: - jboss-javassist/javassist#265 - jboss-javassist/javassist#270 - jboss-javassist/javassist#271 - jboss-javassist/javassist#275 Of these #270 is most important, as it fixes an issue we've seen with powermock downstream. Change-Id: Ib4d75d6411e71438436249a8eb9313ccf4411ca2 Signed-off-by: Robert Varga <robert.varga@pantheon.tech> (cherry picked from commit 6a404f1)
Hi Shigeru, #222 and 1719817 added a major regression to the CtClass loading. I profiled the code and now 75-80% of all the cpu time is wasted on "urlConnection.getInputStream()".
We saw a regression of at least 20x when the jar is big enough (120k classes, 400 MB jar).
The text was updated successfully, but these errors were encountered: