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
12
votes
2 answers

java 14 nullpointerexception no detailed message

Java 14 has many new features. One of them is showing detailed message in NullPointerException. I installed Java 14 and trying to compile and run below class but I am not getting any detailed message. Am I missing anything? please…
Pradeep
  • 419
  • 5
  • 14
6
votes
2 answers

How to take a heap dump with Eclipse OpenJ9?

With Oracle's Hotspot JVM, it looks like jmap -dump:file=/tmp/dump.txt can be used to take a heap dump. However, Eclipse OpenJ9 doesn't include the jmap tool - and if you try to use the regular jmap with OpenJ9's jvm, it gives the…
Ali
  • 261,656
  • 265
  • 575
  • 769
5
votes
0 answers

Spring Boot 2.3.4 + OpenJ9: Unhandled exception

During last days we are suffering a lot of JVM crashes. We have been using OpenJ9 (8 & 11) without any problems, but some days ago we have started to have a lot of crashes. Two examples from today: Unhandled exception Type=Segmentation…
5
votes
1 answer

Using VisualVM with AdoptOpenJDK and OpenJ9

I can monitor applications with VisualVM if I use the AdoptOpenJDK HotSpot build for Java8. If I use the OpenJ9 build, VisualVM displays the error "Local applications cannot be detected". Did anybody get VisualVM to work with OpenJ9?
user3726374
  • 583
  • 1
  • 4
  • 24
5
votes
2 answers

OpenJ9 and docker containers?

Historically, HotSpot had poor record running in docker containers misjudging the resources allocated (for example RAM). However, things are slowly improving. How is OpenJ9 aligned with docker containers and to what extent it is aware of the…
Hristo Stoyanov
  • 1,508
  • 3
  • 15
  • 24
4
votes
1 answer

How does Java Handle Endianess when running on Little Endian CPU Architectures?

Java being Big Endian how does it handle Little Endian CPUs while maintaining performance? Does JVM (OpenJDK, OpenJ9, etc.) do any special optimisations to maintain performance like only selectively being Big Endian in special situation in Little…
4
votes
1 answer

Default locale is reported incorrectly by non-standard Java installation

When using an installed version of the JDK, the default system locale is reported correctly, but when I use the adoptopenjdk-11 tar.gz, it is always reported as en_US import java.util.Locale; public class CurrentLocale { public static void…
the_storyteller
  • 2,335
  • 1
  • 26
  • 37
4
votes
1 answer

How to use AOT compiler in Openj9?

I have already known there is a "dynamic AOT" in Openj9, where Openjdk9 has a AOT compiler (jaotc) to compile byte code to shared library. But Openj9 doesn't have program like jaotc, it uses "shared classes" to store JITed code, which is expected to…
cwei
  • 105
  • 5
3
votes
2 answers

OpenJ9 tomcat won't start with high -Xmx heap option

I have a Spring app running in a Tomcat 9.0.6 on Linux 64. Because it needs a lot of memory, I would like to try the OpenJ9 JVM which is supposedly more efficient in that regard (current heap limit with Hotspot: -Xmx128G). I installed the 64-bit…
Andreas Hartmann
  • 1,825
  • 4
  • 23
  • 36
3
votes
1 answer

Does Spark run with OpenJ9 and Java 8?

Is Spark functional for use with Java 8 + OpenJ9? I found a pull request for version 3.0.0 but it was not very clear to me the consequences of running without this pull request. I am currently using version…
Emerson
  • 428
  • 5
  • 16
3
votes
1 answer

How to dump the content of method argument with OpenJ9 Xtrace Option

Background: I want to log user activities on Eclipse, for example, what git repositories the users cloned, when did merge conflicts happened, and so on. I came up with using the OpenJ9 -Xtrace option. First, to test the OpenJ9 -Xtrace option…
SATO Yusuke
  • 1,600
  • 15
  • 39
2
votes
1 answer

Not able to run Cassandra with Openj9 JVM

I installed cassandra on mac using this command brew install cassandra. I ran this command (cassandra -f) to start the DB but getting the following exception. Caused by: java.lang.NumberFormatException: For input string: "openj9-0" at…
APK
  • 155
  • 1
  • 15
2
votes
2 answers

jps not listing tomcat process and jmap fails to create heap dump

I have running tomcat (9.0.39.0) server, started by user cpappt and running with pid: 1682650. The machine on which this server runs is not bare metal but a VMware machine and the JVM is from OpenJ9 > ps -ef | grep Bootstrap cpappt 1682650 1…
morecore
  • 900
  • 3
  • 14
  • 32
2
votes
1 answer

Get byte array data from openj9 heap hump

I acquired a heap dump from a OpenJ9 java application using the command jcmd GC.heap_dump Then I open it on Eclipse Memory Analyzer to check a specific class, but when I tried to see the content of a byte array attribute of this class all…
2
votes
1 answer

Maven compile failure using OpenJ9 with Lombok

I would like to ask help of community. I made an experiment to change jvm to Eclipse OpenJ9 VM AdoptOpenJDK from Oracle Hotspot. I created a simple spring boot application but I got an error in compile time. java -version: openjdk version "13"…
Gabor Szabo
  • 195
  • 3
  • 14
1
2 3 4 5