Dynamic Class Reloading

Andrew Wiley debio264 at gmail.com
Sat Jul 4 03:39:26 UTC 2009


I'm fairly new to OpenJDK, and I'm wondering if there's any way to reload a
class while an application is in operation. There's JavaRebel and Apache JCI
to do this with the Sun JDK, but I don't know if there's an equivalent for
OpenJDK.
I have a server application that I want to be able to update without
rebooting it. I would like to at least be able to reload classes when the
signature doesn't change. These would be classes on the classpath that are
used normally (directly, not through reflection) in the application. Is this
possible?
On a side note, I'm fairly sure this has been done, but does OpenJDK run on
ARM systems?



More information about the discuss mailing list