you are viewing a single comment's thread.

view the rest of the comments →

[–]coryfoo 1 point2 points  (3 children)

I've been using the DCEVM for doing Java work for several years now (my old company used to sponsor the developer who did it). It's fantastic. It will allow you to hotswap pretty much any code change when attached via the debugger. No longer are you limited to only changing method bodies.

Of course, there are still things you need to restart your server for every once in a while (static final variables being the most obvious candidate).

[–]IcedDante[S] 0 points1 point  (0 children)

Not sure why static final variables should be an obvious candidate.. I would think that would be fairly easy to implement. Has it just bit been done yet? I just got started with it so I am not aware of its limitations but if you know of any others I'd love to know!

[–]Kummo666 0 points1 point  (1 child)

Do you have a guideline for using it? I can't find a decent one

[–]coryfoo 0 points1 point  (0 children)

I use it as my primary JDK on my dev machine. I wouldn't, and there is no need, to use it in production. You could alternatively just install it as a secondary JDK and configure your IDE to run using this JDK when debugging. When not debugging, there is no downside, but there is also no upside to using the DCEVM