Anonymous classes

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/Troubleshooting-Memory-Use#the-jvm-does-not-gc-anonymous-classes-by-default

Thanks,
John

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs