我正在尝试设置一个能够更改 Hotspot vm GC 源代码的环境。 我按照此处的说明克隆了 jdk8 存储库:http://openjdk.java.net/projects/jdk8/ 经过一番努力,成功编译了整个项目(包括热点项目)。
我将所有编译结果都放在发布文件夹中,但找不到任何可执行文件或任何其他方式来运行\使用热点虚拟机。
是否有人对这个项目有类似的经历并可以帮助我解决这个问题? 非常感谢
最佳答案
根据 OpenJDK 8 build instructions :
When the build is completed, you should see the generated binaries and associated files in the j2sdk-image directory in the output directory. In particular, the build/*/images/j2sdk-image/bin directory should contain executables for the OpenJDK tools and utilities for that configuration.
关于java - 如何为 openJDK8 HotSpot VM 设置开发环境?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60338308/