OpenJDK 8 uses mercurial instead of git, so we supply a patch instead.
The M3 monitor is included as part of this patch, under the top level directory sigve
.
The monitor is also available separately at https://github.com/dsrg-uoft/M3-monitor.
- Clone OpenJDK 8:
hg clone http://hg.openjdk.java.net/jdk8u/jdk8u
- Get source:
bash get_source.sh
- Checkout tag:
bash ./make/scripts/hgforest.sh up jdk8u172-b11
- Apply patch:
patch -p1 < openjdk8.patch
- Configure:
bash configure
- Build:
make image
- Distribution is
build/linux-x86_64-normal-server-release/images/j2sdk-image