Hacker News new | ask | show | jobs
by barrkel 5420 days ago
Hotswap bug fixing is the Java term for it. .NET calls it Edit and Continue. Much the same thing has existed in Smalltalk and Lisp etc. for much longer.

It's particularly well suited for things like a game loop or a server, because it works best (or rather usually, only) when the code you're editing is not on the stack.

1 comments

Are you still limited to method bodies? It seems reasonable that the method signatures and object layouts couldn't be modified because that would invalidate a lot of code already in memory and that may already be optimized.
See JRebel mentioned by the other poster for more dramatic modification.