Giter Club home page Giter Club logo

jdk11u-archive-1's Introduction

Shenandoah Variant on JDK-11u

Turn off "Treating warnings as errors"

At line 171 in make/autoconf/flags-cflags.m4
Change

CFLAGS_WARNINGS_ARE_ERRORS="-Werror"

To

CFLAGS_WARNINGS_ARE_ERRORS=""

Build

bash ./configure --with-jvm-features=shenandoahgc --enable-debug
make images

Verify Shenandoah is working

build/*/jdk/bin/java -XX:+UseShenandoahGC -Xlog:gc -version

You should get something like this

[0.025s][info][gc] Heuristics ergonomically sets -XX:+ExplicitGCInvokesConcurrent
[0.025s][info][gc] Heuristics ergonomically sets -XX:+ShenandoahImplicitGCInvokesConcurrent
[0.027s][info][gc] Using Shenandoah
openjdk version "11.0.13-internal" 2021-10-19
OpenJDK Runtime Environment (build 11.0.13-internal+0-adhoc.root.jdk11u)
OpenJDK 64-Bit Server VM (build 11.0.13-internal+0-adhoc.root.jdk11u, mixed mode)
[0.188s][info][gc] Cancelling GC: Stopping VM

Install JDK-11u

sudo update-alternatives --install /usr/bin/java java /path/to/jdk11u/build/*/jdk/bin/java 11
sudo update-alternatives --install /usr/bin/javac javac /path/to/jdk11u/build/*/jdk/bin/javac 11

Switch among JDK versions

sudo update-alternatives --config java
sudo update-alternatives --config javac

jdk11u-archive-1's People

Contributors

khanhtn1 avatar tiendatngcs avatar

Watchers

 avatar

Forkers

praneeth121

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.