简体   繁体   English

GraalVM 上的热重载

[英]Hot Reloading on GraalVM

I've recently upgraded from OpenJDK 8 to GraalVM 20.1.0 (OpenJDK 11.0.7).我最近从 OpenJDK 8 升级到 GraalVM 20.1.0 (OpenJDK 11.0.7)。 Does anyone have any ideas how to implement hot class reloading (or at least web asset redeployment).有谁知道如何实现热 class 重新加载(或至少 web 资产重新部署)。

  • Spring-Boot-Devtools doesn't pick up the changes. Spring-Boot-Devtools 不会接受这些更改。
  • HotSpotAgent (DCEVM) has a JDK11 versio that you can replace your JVM with, but it's not GraalVM (and won't have the Polyglot features) HotSpotAgent (DCEVM) 有一个 JDK11 版本,您可以用它替换您的 JVM,但它不是 GraalVM(并且不会具有 Polyglot 功能)
  • JRebel (which I have a license for, doesn't support GraalVM) JRebel(我有许可证,不支持 GraalVM)

Is that it?是这样吗? Surely not...肯定不是...

JRebel does support GraalVM, you can see the press release here: https://www.jrebel.com/blog/jrebel-2020-2-adds-support-java-14 JRebel 确实支持 GraalVM,您可以在此处查看新闻稿: https://www.jrebel.com/blog/jrebel-2020-2-adds-support-java-14

If you are struggling with setting up JRebel with your GraalVM you should email them at support@jrebel.com and they can help you out.如果您在使用 GraalVM 设置 JRebel 时遇到困难,您应该通过 support@jrebel.com email 他们,他们可以帮助您。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM