gpt4 book ai didi

java - 如何搭建Java HotSpot VM的开发环境?

转载 作者:太空宇宙 更新时间:2023-11-04 08:29:14 24 4
gpt4 key购买 nike

了解 Java HotSpot VM 的最佳方式是什么?如果我想修改源代码并添加自己的功能,最好的开发环境是什么(ctags 是否可以很好地与大型代码库配合使用,或者我是否需要一个成熟的 IDE)?

最佳答案

我怀疑您是否想深入研究 Hotspot 代码库...我正在复制此问题的部分答案:

我认为Maxine Research VM来自 Oracle 实验室的研究将是一个很好的起点。这是他们的 wiki 第一页的引用:

Project Overview

In this era of modern, managed languages we demand ever more from our virtual machines: better performance, more scalability, and support for the latest new languages. Research and experimentation is essential but no longer practical in the context of mature, complex, production VMs written in multiple languages.

The Maxine VM is a next generation platform that establishes a new standard of productivity in this area of research. It is written entirely in Java, completely compatible with modern Java IDEs and the standard JDK, features a modular architecture that permits alternate implementations of subsystems such as GC and compilation to be plugged in, and is accompanied by a dedicated development tool (the Maxine Inspector) for debugging and visualizing nearly every aspect of the VM's runtime state.

这是一个演示其内存监控实用程序的精彩视频:

关于java - 如何搭建Java HotSpot VM的开发环境?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7854455/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com