Questions tagged [openj9]

Eclipse OpenJ9 is an open source project that provides a high-performance, scalable, Java virtual machine (JVM) implementation. The initial code contribution for the project came from IBM's production J9 JVM.

Eclipse OpenJ9 is an open source project that provides a high-performance, scalable, Java virtual machine (JVM) implementation. The initial code contribution for the project came from IBM's production J9 JVM. See the code at https://github.com/eclipse/openj9

65 questions
0
votes
1 answer

Heap Dumps are getting generated and the error is "java/lang/OutOfMemoryError" "native memory exhausted". How to disable those Heap Dumps

We are getting Heap dumps with the error "java/lang/OutOfMemoryError" "native memory exhausted" in "Open J9" JVM. Can somebody suggest how to disable these Heap Dumps Tried -XX:-HeapDumpOnOutOfMemory -Xms4096m -Xmx10240m. Need to know how to…
0
votes
1 answer

Spring Boot 2.6.X + JRE 17 Openj9 - Unhandled exception Type=Segmentation error

Target of this post is to help to solve the the problem in the title. Infos: java -version openjdk version "17.0.2" 2022-01-18 IBM Semeru Runtime Open Edition 17.0.2.0 (build 17.0.2+8) Eclipse OpenJ9 VM 17.0.2.0 (build openj9-0.30.0, JRE 17 Linux…
Rick Deckard
  • 123
  • 2
  • 5
0
votes
1 answer

How to compile OpenJDK with OpenJ9 on Linux without a NUMA error?

Hello Stackoverflowers! I am trying to build the OpenJDK with OpenJ9 on Linux, but when I run the configure script, I get the error: configure: error: Could not find numa! Normally it should have just created the config and let me build, because I…
LaserSami
  • 1
  • 3
0
votes
1 answer

How to make sure that OpenJ9 uses bundled OpenSSL crypto library for ALL crypto operations?

I have built OpenJ9 with my customized OpenSSL, using --with-openssl and --enable-openssl-bundling options. I can even see libcrypto.so in the built binaries, but I'm sure they are not used when I create RSA key pair using…
0
votes
1 answer

InputStream become closed (fatjar/überjar over OpenJ9_11.0.8.10 debian x64)

I'm facing a strange behavior at my enviroment. I have a fatjar of my spring application and I running it in a docker container based on adoptopenjdk/openjdk11-openj9:jdk-11.0.8_10_openj9-0.21.0-debian-slim and using the garbage collector G1GC. The…
Beto Neto
  • 3,962
  • 7
  • 47
  • 81
0
votes
2 answers

Q) crash in openJ9 libcryp due to Memeory Violation in CRYPTO_memcmp

The Context of my question My server software is based on openjdk version "1.8.0_242" Nearly ever 2-3 week my server process crashes. In the Java Dmp file is see that when doing HttpsURLConnection conn = (HttpsURLConnection)myurl.openConnection();…
0
votes
1 answer

Eclipse OpenJ9, -XX:+CompactStrings and Trademark symbol in Path name

I just noticed a strange issue with Eclipse OpenJ9 and -XX:+CompactStrings VM flag. I wonder whether this is a bug or simply my misunderstanding of something...? Here's what happens: After receiving a path from DirectoryStream, if the path has a…
user38725
  • 876
  • 1
  • 10
  • 26
0
votes
1 answer

Surefire throws SurefireReflectionException while class is on classpath

I'm trying to run unit tests generated by evosuite but the maven-surefire-plugin is throwing a classnotfound error while the "missing" class appears to be in the classpath. When I try to run the tests the debug log shows that evosuite is on the…
0
votes
1 answer

adoptopenjdk 8 with openj9 + visualvm + jboss eap 7.1 - cpu usage 100%

i am testing out jboss eap 7.1 using adoptopenjdk 8 with openj9 (previously was using hotspot). i used visualvm to monitor it via jmx, and noticed that the reported cpu usage is consistently close to 100% (see attachment). when i used htop on the…
bluebloodedboy
  • 305
  • 3
  • 10
0
votes
1 answer

Hibernate XML configuration on OpenJ9 (JDK14)

I'm trying trying to load Hibernate XML configuration on OpenJ9 (JDK14) but since JAXB are not longer part of the JDK I get this error: Caused by: java.lang.ClassNotFoundException: javax.xml.bind.ValidationEventHandler I tried to follow some of the…
Guy Korland
  • 9,139
  • 14
  • 59
  • 106
0
votes
1 answer

Pre warmed Java Docker image with class data sharing

I want to create a docker image that runs on a Java Service with OpenJ9's Class Data Sharing feature to improve startup performance. I want to create the Class Cache while building the image using a multi stage docker build. I saw a few mentions of…
0
votes
1 answer

JMX Connection refused on Kubernetes with AdoptOpenJDK OpenJ9

With my team we are trying to move our micro-services to openj9, they are running on kubernetes. However, we encounter a problem on the configuration of JMX. (openjdk8-openj9) We have a connection refused when we try a connection with jvisualvm (and…
0
votes
2 answers

Make OpenJ9 class sharing also share non-boot classes

We run dozens of Docker containers (Metabase BI tool, a Java application) on a single server (with Docker Compose) and would like to optimise the memory footprint. I have enabled class sharing by providing the following Java options: -Xquickstart…
Andrey Ch
  • 193
  • 1
  • 12
0
votes
2 answers

Openjdk openJ9 vs hotspot reflection difference using ZKOSS

I'm currently using a web application using the ZK (https://www.zkoss.org/) framework successfully using a HotSpot JVM (https://adoptopenjdk.net/?variant=openjdk11&jvmVariant=hotspot). Using this JVM, ZK can reflectively access my objects (beans)…
0
votes
0 answers

Application (tomcat) stops responding after a while when using JVM Open J9

I'm using Open J9 and after a while running my application stops responding .. In production occurs after 2 hours, locally managed to simulate using JMeter. The application (tomcat) simply stops responding and I need to restart to get it back. The…
Emerson
  • 428
  • 5
  • 16