Adventures with OpenJDK 10

I2P router issues
Post Reply
jogger
Posts: 45
Joined: 19 Feb 2018 09:00

Adventures with OpenJDK 10

Post by jogger »

First impressions after tests on ARM 32 (armbian stretch).

Does not build completely. "make" works, "make images" does not. Can´t believe they did not catch a "javac --release 8" before a GA release. Sufficient binaries produced to compile and run i2p. "ant updater" produces a working i2p 0.9.33 for "javac.version=1.9" and "javac.version=1.10".

Still eats too much RAM under higher loads with the default GC. The deprecated CMS GC works well as before.

The new Shenandoah GC does not build at all. Throws some ARM assembler errors beyond my scope.

I have opened bug reports for the build errors.
jogger
Posts: 45
Joined: 19 Feb 2018 09:00

Re: Adventures with OpenJDK 10

Post by jogger »

I have finished testing. Finally got a complete build for JDK 10. Totally crashes the machine within hours or days under higher i2p load. Reboots with no clue in any log.

JDK 9 or 10 do not build with clang toolchain.
Shenandoah does not build with JDK 9 nor 10 any toolchain.

All build errors are compile or assembler errors within ARM specific code which casts serious doubt on software quality here.

Opened bug reports for all errors.

Bottom line: See trac ticket 1981 and use JDK 9.0.4+12. If somebody is interested, I could upload JRE and JDK for armv7hf as well as i2p 0.9.33 compiled for that.
Post Reply