Forum: JRuby anonymous classes

58c538d6f6e8fbf54779c5607e567bff?d=identicon&s=25 John B. (john_b)
on 2014-01-19 05:27
(Received via mailing list)
Is this anonymous class issue still present in recent versions of the
JVM/JRuby?

Does anyone have recommendations for how to go about auditing libraries
for
use of anonymous classes?

https://github.com/jruby/jruby/wiki/Troubleshootin...

Thanks,
John
486ca04f06d968004643ce5b47376ded?d=identicon&s=25 Keith B. (keith_b)
on 2014-01-19 18:07
(Received via mailing list)
Wow, very interesting.  Is it that Java doesnt GC any classes at all,
and this is pointing out that anonymous classes are also included in
this category?

Does JRuby implement code blocks passed to functions as Java classes?
How about lambdas/procs?

And is the reason theyre not garbage collected by default that its
expensive to determine whether or not theyre in use?

- Keith
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.