Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AArch64: Update Build Instructions #7564

Merged
merged 1 commit into from
Dec 10, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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