As java -version passes few times, further also checked behaviour of Maven. Observed that mvn -v crashes in a similar fashion, however after setting below:
export MAVEN_OPTS="-XX:-TieredCompilation -XX:+UseG1GC -Dcount=1000000"
mvn -v always passes.
root@XX:/# mvn -v
OpenJDK 64-Bit Server VM warning: You have loaded library /apache-maven-3.6.3/lib/jansi-native/linux64/libjansi.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /apache-maven-3.6.3
Java version: 11.0.7, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-s390x
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "5.4.0-70-generic", arch: "s390x", family: "unix"
However what I am really interested in, is mvn clean install command which never passes with above settings.
As java -version passes few times, further also checked behaviour of Maven. Observed that mvn -v crashes in a similar fashion, however after setting below: "-XX:-TieredCom pilation -XX:+UseG1GC -Dcount=1000000"
export MAVEN_OPTS=
mvn -v always passes.
root@XX:/# mvn -v maven-3. 6.3/lib/ jansi-native/ linux64/ libjansi. so which might have disabled stack guard. The VM will try to fix the stack guard now. 6d0abb50b32b541 b8a6ba2883f) jvm/java- 11-openjdk- s390x
OpenJDK 64-Bit Server VM warning: You have loaded library /apache-
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Apache Maven 3.6.3 (cecedd34300269
Maven home: /apache-maven-3.6.3
Java version: 11.0.7, vendor: Ubuntu, runtime: /usr/lib/
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "5.4.0-70-generic", arch: "s390x", family: "unix"
However what I am really interested in, is mvn clean install command which never passes with above settings.
@davidhildenbrand, any help would be appreciated.