-
-
Notifications
You must be signed in to change notification settings - Fork 925
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
Question about code caching in 1.7.27 #4791
Comments
no caches are being kept - it must be an issue related to concurrent loading (requires from multiple threads) |
Anything I can provide to help you debug this issue? |
not really, we could come up with a way to make it happen less (by avoiding multiple threads as assumed previously). JRuby 1.7.x is EOL so its not much worth reproducing since there's no 1.7.x release planned... give it a go on latest 9K ... if it does its likely worth digging deeper (creating an isolated reproducable .rb). |
Thanks for your suggestion. |
first cold JVM start might always be a bit slower, if you have a simple enough script to reproduce we can take a look if there's a reasonable workaround. |
also give 1.7.26 a try, as the autoloading patch might have been back ported in 27 or simply stay with 21 there isn't that much difference. preferably go for JRuby 9.1 in the long run ... |
Are you able to test this on a recent 9k? |
Recent 9k does not have this issue but we are blocked on #4796 |
We have the following JRuby loading issue after we upgraded from 1.7.21 to 1.7.27:
The script is just a simple require for the library.
And we suspected that it may be caused by our Java security manager settings. But after turning off the security manager and turning it on again we can not reproduce this issue.
So are there any caches generated somewhere which led to this behavior? How can I invalidate the cache?
Thanks.
The text was updated successfully, but these errors were encountered: