-
Notifications
You must be signed in to change notification settings - Fork 306
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
FISH-8688 improvement: optimize MR-jar class loading #6713
Conversation
ce2aa07
to
7456a0e
Compare
I get a deployment failure with this PR - an |
@RInverid do you have a reproducer or at least a stack trace? There isn’t much to go on in your comment |
Not yet, but I have more practical feedback: this MR does not load Bouncycastle libs if running on JDK 17. BC libs are multirelease, but they only have class files for jdk9. Your PR skips loading BC classes becuase it cannot find classes for jdk17 |
Hmmmm. I specifically tested BC libs in 11 (but not 17) so I am not sure how 17 would be any different. |
Had a quick look myself, I think you can use the reproducer provided against the original change PR to see the error (albeit against embedded): https://github.com/ctabin/gf-test-lucene Without this PR, it works as it's able to load the Not yet determined the failing difference Yet™ |
Ok, I didn't realize that commit was not only optimization but a bug fix. I re-incorporated the bug fix into this PR and tested it with https://github.com/ctabin/gf-test-lucene and it works |
Thanks for the changes, I re-tested this MR. The deployment time and memory Issues are seeing are less of an issue, but still present. Probably because the problematic change ( |
@RInverid how about now? |
Jenkins test |
Jenkins test please |
Yes this resolves my issues, as I've also found with my testing. Not sure what the change in |
…ile remaining open
Thanks both! 👌 |
FISH-8688 improvement: optimize MR-jar class loading
FISH-8688 improvement: optimize MR-jar class loading
FISH-8688 improvement: optimize MR-jar class loading
FISH-8688 improvement: optimize MR-jar class loading
Description
Optimize multi-release JAR processing, remove resource leak from MR-JarFile remaining open
Opening MR-Jars correctly by using
RUNTIME_VERSION
fixes #6554
Testing Performed
Deploy original reproducer for this issue
Testing Environment
Any