This is really interesting: CUDA support out of the box[1]. I've never seen this before, does any other JVM do it? [1] https://github.com/eclipse/openj9/tree/master/runtime/cuda
Eclipse OpenJ9 – Open-source JVM
81–90 of 105 posts
Re: Eclipse OpenJ9 – Open-source JVM
#82Re: Eclipse OpenJ9 – Open-source JVM
#83Let's get straight to the really important question, can J9 or AOT help maybe just a little with clojure startup time woes?
I tried some quick tests using a fully AOT, short-running thing we run in house. Here the cost is the set-up of JVM and loading of Clojure stuff (CentOS 7 Vagrant VM on my Mac). J9: time ./jdk-9+181/bin/java -client -jar l2i-0.1.0-SNAPSHOT-standalone.jar real 0m1.987s user 0m3.383s sys 0m0.161s time ./jdk-9+181/bin/java -server -jar l2i-0.1.0-SNAPSHOT-standalone.jar real 0m2.949s user 0m5.452s sys 0m0.167s OpenJDK 8:…
Re: Eclipse OpenJ9 – Open-source JVM
#84So IBM has OpenJ9 and OMR, Oracle has Graal and Truffle. The JVM space is suddenly getting very interesting. But my question is, why now? While OMR did opened up a year ago it didn't seems to have gained any traction. Then there was the JavaEE last week opened also going to Eclipse, which is strange because it has always been IBM going to Eclipse and Oracle goes to Apache. Not to mention the OpenJDK builds https://bl…
Could. Oracle and IBM are realising that WebLogic and WebSphere licensing revenue isn't going anywhere and if they want to grow revenue and achieve lock-in they have to find a new way.
Re: Eclipse OpenJ9 – Open-source JVM
#85Earlier quoted context omitted.
I used JRockIT for some stuff. We found it to beat HotSpot (at the time) in some of our use cases. Eventually they got brought in house and HotSpot gained those speed improvements. One of the things that was really useful with it was Mission Control, which didn't exist to the same degree with the HotSpot VM.
JRockit's deterministic GC was awesome.
Re: Eclipse OpenJ9 – Open-source JVM
#86Earlier quoted context omitted.
You don't. You use an RTSJ JVM.
That’s not an option, that was the whole point of the discussion.
[1]: https://www.ibm.com/support/knowledgecenter/en/SSSTCZ_3.0.0/...
Re: Eclipse OpenJ9 – Open-source JVM
#87So IBM has OpenJ9 and OMR, Oracle has Graal and Truffle. The JVM space is suddenly getting very interesting. But my question is, why now? While OMR did opened up a year ago it didn't seems to have gained any traction. Then there was the JavaEE last week opened also going to Eclipse, which is strange because it has always been IBM going to Eclipse and Oracle goes to Apache. Not to mention the OpenJDK builds https://bl…
I do not work at any of the major JVM vendors but can point to trends in the space. Disclosure: My business relies heavily on the JVM and I am heavily involved in the java community from the AI side. We also do a ton of java systems development and have had conversations with many of the JVM vendors over the years including azul,oracle,red hat, and IBM.
Azul started running a "pure openjdk" distro a bit ago that they provide support for. They also provide a licensed embedded version. They are differentiating with a pauseless GC.
Oracle uses the JVM in a lot of their products. App servers are slowing down in favor of microservices now. This unbundling started with spring boot and supporting Java EE annotations.
We can see this with Java EE migrating to eclipse now because the annotations themselves have become commoditized.
Red hat started supporting jdk 7 in RHEL and was probably a bigger proponent of the "open" bits.
Overall here, just of note: Java has always had the JCP. https://jcp.org/en/home/index
I'm guessing that enough of the member organizations started pushing more for opening of the JVM.
Finally overall, we can see in the space that even at java conferences, a lot of conversations are moving towards "JVM as a platform" including scala and clojure in the conferences now.
So overall, I would say it's largely a shift in both the thinking and the way you monetize the JVM.
Re: Eclipse OpenJ9 – Open-source JVM
#88Let's get straight to the really important question, can J9 or AOT help maybe just a little with clojure startup time woes?
I tried some quick tests using a fully AOT, short-running thing we run in house. Here the cost is the set-up of JVM and loading of Clojure stuff (CentOS 7 Vagrant VM on my Mac). J9: time ./jdk-9+181/bin/java -client -jar l2i-0.1.0-SNAPSHOT-standalone.jar real 0m1.987s user 0m3.383s sys 0m0.161s time ./jdk-9+181/bin/java -server -jar l2i-0.1.0-SNAPSHOT-standalone.jar real 0m2.949s user 0m5.452s sys 0m0.167s OpenJDK 8:…
# time for i in `seq 1 10`; do ./jdk-9+181/bin/java -client -Xquickstart -jar l2i-0.1.0-SNAPSHOT-standalone.jar; done
real 0m18.571s user 0m30.429s sys 0m1.374s
# time for i in `seq 1 10`; do ./jdk-9+181/bin/java -client -Xshareclasses -jar l2i-0.1.0-SNAPSHOT-standalone.jar; done
real 0m16.642s user 0m19.483s sys 0m6.307s
Re: Eclipse OpenJ9 – Open-source JVM
#89Earlier quoted context omitted.
I tried some quick tests using a fully AOT, short-running thing we run in house. Here the cost is the set-up of JVM and loading of Clojure stuff (CentOS 7 Vagrant VM on my Mac). J9: time ./jdk-9+181/bin/java -client -jar l2i-0.1.0-SNAPSHOT-standalone.jar real 0m1.987s user 0m3.383s sys 0m0.161s time ./jdk-9+181/bin/java -server -jar l2i-0.1.0-SNAPSHOT-standalone.jar real 0m2.949s user 0m5.452s sys 0m0.167s OpenJDK 8:…
The OpenJ9 infrastructure is somewhat different [for the better] than what I'm used to using internally, but I have only ever seen the shared class cache enabled when the -Xshareclasses [1] option is passed to the JVM. Do these numbers change significantly (especially after a warm-up run) if you add that option to J9's option set? [1] https://www.ibm.com/support/knowledgecenter/en/SSYKE2_8.0.0/...
Re: Eclipse OpenJ9 – Open-source JVM
#90Earlier quoted context omitted.
I tried some quick tests using a fully AOT, short-running thing we run in house. Here the cost is the set-up of JVM and loading of Clojure stuff (CentOS 7 Vagrant VM on my Mac). J9: time ./jdk-9+181/bin/java -client -jar l2i-0.1.0-SNAPSHOT-standalone.jar real 0m1.987s user 0m3.383s sys 0m0.161s time ./jdk-9+181/bin/java -server -jar l2i-0.1.0-SNAPSHOT-standalone.jar real 0m2.949s user 0m5.452s sys 0m0.167s OpenJDK 8:…
Maybe I'm missing something or I'm just blind but where is there AOT compilation in your example since you seem to run the same jar with the same command-line options. That said I'm not that surprised that class aot compilation didn't really speed up a clojure app.