Code Monkey home page Code Monkey logo

ng2c's Introduction

OpenJDK 8 HotSpot with the new collector: N-Generatioal Garbage Collector (NG2C)

Check our paper at ISMM'17

In order to test NG2C you first need to download and prepare the OpenJDK JVM build. Instructions regarding how to download and build the OpenJDK can be found at: http://hg.openjdk.java.net/jdk8/jdk8/raw-file/tip/README-builds.html

Then you need to replace the HotSpot source with the one in this repository. For example:

git clone https://github.com/paper-87/ng2c.git hotspot-ng2c
mv /path-to-openjdk/jdk8/hotspot /path-to-openjdk/jdk8/hotspot-bak
ln -s hotspot-ng2c /path-to-openjdk/jdk8/hotspot

Finally, build the OpenJDK JVM and the resulting JVM has NG2C incorporated. Remember that NG2C only works if G1 is enabled.

Additional Results

SPEC2008jvm pauses

Compress Benchmark: alt text

Crypto Benchmark: alt text

Mpegaudio Benchmark: alt text

Scimark Benchmark: alt text

XML Benchmark: alt text

ng2c's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ng2c's Issues

curious about object lifetime recorder

It seems OLR is not included in this repo. I'm very curious about how object graph analyzer works, since your brilliant paper does not give details on how it decide a object should allocted in which generation, and how it decide a new generation is necessary, besides predefined young/old generation.

curious about is there any modification to Javac

Hi there!

We are working on a project which also needs to mark out the new operation of some local variables. However, in our build environment (openjdk 8u102-b14), we haven't seen the RetentionPolicy.RUNTIME ElementType.LOCAL_VARIABLE @Gen annotation appears in the classfile. Even its name doesn't exist in the constant pool of the classfile. So we can do nothing but applied some ugly modification to JVM and JDK to make our project works.

However, I found that it's possible to directly use local variable annotations according to your brilliant paper. So I'm very curious about your openjdk version, the implementation of @Gen annotation and whether you have modified javac or not, since It seems that the code of @Gen annotation and javac are not included in this project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.