Add Client VM to builds for Linux arm32 platform#1078
Add Client VM to builds for Linux arm32 platform#1078karianna merged 1 commit intoadoptium:masterfrom jgneff:arm-client-vm
Conversation
Closes #1070 DCO 1.1 Signed-off-by: John Neffenger <john@status6.com>
|
Can one of the admins verify this patch? |
|
The one-line change appears to work. BeforeThe current AdoptOpenJDK build of JDK 12 for Linux arm32 includes only the Server VM and ignores the option to run the Client VM: john@koboa:~/opt$ jdk-12.0.1+12/bin/java -version
openjdk version "12.0.1" 2019-04-16
OpenJDK Runtime Environment AdoptOpenJDK (build 12.0.1+12)
OpenJDK Server VM AdoptOpenJDK (build 12.0.1+12, mixed mode)john@koboa:~/opt$ jdk-12.0.1+12/bin/java -client -version
openjdk version "12.0.1" 2019-04-16
OpenJDK Runtime Environment AdoptOpenJDK (build 12.0.1+12)
OpenJDK Server VM AdoptOpenJDK (build 12.0.1+12, mixed mode)The Server VM fails to run because of the bug mentioned in the #1070 issue report: john@koboa:~/src/epd-javafx$ ~/opt/jdk-12.0.1+12/bin/java -client ...
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x2b8664c4, pid=10935, tid=10936
#
# JRE version: OpenJDK Runtime Environment (12.0.1+12) (build 12.0.1+12)
# Java VM: OpenJDK Server VM (12.0.1+12, mixed mode, serial gc, linux-arm)
... [fails] ...AfterWith this change, the AdoptOpenJDK build of JDK 12 for Linux arm32 includes both the Client and Server VMs: john@koboa:~/opt$ jdk-12.0.1+12-1070/bin/java -version
openjdk version "12.0.1" 2019-04-16
OpenJDK Runtime Environment AdoptOpenJDK (build 12.0.1+12-201905092028)
OpenJDK Server VM AdoptOpenJDK (build 12.0.1+12-201905092028, mixed mode)john@koboa:~/opt$ jdk-12.0.1+12-1070/bin/java -client -version
openjdk version "12.0.1" 2019-04-16
OpenJDK Runtime Environment AdoptOpenJDK (build 12.0.1+12-201905092028)
OpenJDK Client VM AdoptOpenJDK (build 12.0.1+12-201905092028, mixed mode)The Server VM fails as shown above, but now the Client VM can be run as an alternative: john@koboa:~/src/epd-javafx$ ~/opt/jdk-12.0.1+12-1070/bin/java -client
... [works] ...SizesThe sizes below are those reported by the The size of the installed JDK on disk increases by 12 MB (12,149,360 bytes), an increase of about four percent. The size with just the Server VM is currently 300 MB (298,524,733 bytes). Adding the Client VM increases the size to 312 MB (310,674,093 bytes). The change in size is found predominantly in the following files:
|
Closes #1070
DCO 1.1 Signed-off-by: John Neffenger john@status6.com