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

标签 java jvm jvm-hotspot

了解 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/

相关文章:

java - 使用 Postgres 和 HikariCP 设置 Play 2.4.0 会产生配置错误

java - java分配内存的方式如何选择?

java - JVM是否将字节码解释为汇编语言

java - 如何在 eclipse 外部运行的 Tomcat Web 应用程序中执行热代码替换?

jvm - 向 JVM 添加 super 指令

java - 软件专利涵盖的操作系统项目的一个分支会发生什么情况?

java - 如何在异步连接返回时切换 Activity ?

java - 我们如何知道一条记录是否已被读取?我们如何跟踪记录指针?

java - hql查询的返回类型

java - 什么是 java.lang.reflect.Field#slot?