3 ms·
A winning combination with control-shift-f9 to recompile the function body and then drop-frame to retry with the new code I have lost hope for DCEVM being upst
by mdaniel 3y ago
A winning combination with control-shift-f9 to recompile the function body and then drop-frame to retry with the new code
I have lost hope for DCEVM being upstreamed to allow structural changes to the class :-(
- stephankoelle 3y agoDcevm is regularly released from JetBrains as part of their JDK. https://github.com/JetBrains/JetBrainsRuntime https://github.com/JetBrains/JetBrainsRuntime Also with 'Java on Truffle' on GraalVM you can use enhanced class reloading https://www.graalvm.org/latest/reference-manual/java-on-truffle/hotswap/ https://www.graalvm.org/latest/reference-manual/java-on-truf... I think hot code reloading did not look that good in a very long time.
- mdaniel 3y agoApologies, I didn't mean to imply DCEVM went poof, just that I was sad it didn't make it into OpenJDK so one need not do JDK silliness between the production one and the "debugging one" since my experience is that's an absolutely stellar way to produce Heisenbugs And I'll be straight: Graal scares me 'cause Oracle but I just checked and it looks to the casual observer that it's straight-up GPLv2 now so maybe my fears need revisiting: https://github.com/oracle/graal/blob/vm-23.1.0/LICENSE https://github.com/oracle/graal/blob/vm-23.1.0/LICENSE