Which JVM to choose for GC hacking?

后端 未结 3 1135
Happy的楠姐
Happy的楠姐 2021-02-20 00:25

I have a design for a GC algorithm that I would like to implement for a JVM, to allow benchmarking.

Does anyone have any experience as to which implementation would allo

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-20 00:58

    I think that the Maxine Research VM from Oracle Labs would be a perfect match for your needs.

    Quote from the first page of their 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.

    Here's an excelent video demonstrating its memory monitoring utilities:

    • Introduction to the Maxine Inspector

提交回复
热议问题