Forum: JRuby anonymous classes

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
E0f4c0b8f9684b1687c945c09e775357?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

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

0d1cd73bfe0ebe09074bfcd138ed3d5d?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
This topic is locked and can not be replied to.