1

Is there any ability to use GraalVM to run Java apps on Heroku? I read a lot articles about cold starts of Java applications with GraalVM AOT (ahead-of-time) compilation feature and how it decrease startup time and I'd like to try to use it in my projects deployed on Heroku.

4

1 回答 1

4

这个 buildpack可以与 Heroku Java buildpack 一起使用,通过运行以下命令用 Graal 替换默认的 JDK:

$ heroku buildpacks:set https://github.com/jkutner/graal-buildpack
$ heroku buildpacks:add heroku/java
于 2018-09-03T12:17:09.743 回答