Skip to content

Commit

Permalink
Merge pull request #7564 from knn-k/aarch64build22
Browse files Browse the repository at this point in the history
AArch64: Update Build Instructions
  • Loading branch information
0xdaryl authored Dec 10, 2019
2 parents db1ce59 + 6088b08 commit d9dc31b
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions doc/build-instructions/Build_Instructions_V11.md
Original file line number Diff line number Diff line change
Expand Up @@ -652,8 +652,6 @@ JCL - 9da99f8b97 based on jdk-11+28)

## AArch64

:construction: This section is still under construction.

:penguin:
The following instructions guide you through the process of building an **OpenJDK V11** binary that contains Eclipse OpenJ9 for AArch64 (ARMv8 64-bit) Linux.

Expand Down Expand Up @@ -730,7 +728,7 @@ bash configure --openjdk-target=${OPENJ9_CC_PREFIX} \
--disable-warnings-as-errors
```

:pencil: **Non-compressed references support:** If you require a heap size greater than 57GB, enable a noncompressedrefs build with the `--with-noncompressedrefs` option during this step.
:pencil: **Non-compressed references support:** If you require a heap size greater than 57GB, enable a noncompressedrefs build with the `--with-noncompressedrefs` option during this step. You need this option to use the JIT compiler regardless of heap size: the JIT does not support compressed references yet.

:pencil: **OpenSSL support:** If you want to build an OpenJDK that uses OpenSSL, you must specify `--with-openssl={system|path_to_library}`

Expand Down Expand Up @@ -764,21 +762,21 @@ cd jdk
```
Run:
```
bin/java -Xint -version
bin/java -version
```

Here is some sample output:

```
openjdk version "11.0.2-internal" 2019-01-15
OpenJDK Runtime Environment (build 11.0.2-internal+0-adhoc..openj9-openjdk-jdk11)
Eclipse OpenJ9 VM (build master-03a061a, JRE 11 Linux aarch64-64-Bit 20190208_000000 (JIT disabled, AOT disabled)
OpenJ9 - 03a061a
OMR - a8ca0e6
JCL - fd5cc89 based on jdk-11.0.2+7)
openjdk version "11.0.6-internal" 2020-01-14
OpenJDK Runtime Environment (build 11.0.6-internal+0-adhoc..openj9-openjdk-jdk11)
Eclipse OpenJ9 VM (build master-83baf0b, JRE 11 Linux aarch64-64-Bit 20191204_000000 (JIT enabled, AOT enabled)
OpenJ9 - 83baf0b
OMR - 7b2e5df
JCL - d247952 based on jdk-11.0.6+6)
```

:pencil: The JIT compiler for AArch64 is not supported at the time of writing this. If you don't disable the JIT compiler with the `-Xint` option, you will see a warning for `libj9jit29.so`.
:construction: AArch64 JIT compiler is not fully optimized at the time of writing this, compared with other platforms.

:pencil: **OpenSSL support:** If you built an OpenJDK with OpenJ9 that includes OpenSSL v1.1.x support, the following acknowledgements apply in accordance with the license terms:

Expand Down

0 comments on commit d9dc31b

Please sign in to comment.