Execution problems with Atomic Operations on OpenJDK10 for ARM5 Soft Float

bren at juanantonio.info bren at juanantonio.info
Wed Apr 4 10:29:31 UTC 2018


Good morning,

Mi name is Juan Antonio Breña Moral, I am developing a set of Java 
libraries for Lego Mindstorms EV3, an ARM5 robotics device and recently, 
we build OpenJDK 9 with success but with OpenJDK 10, we have found some 
problems when we execute some Java programs.

Repository to build OpenJDK 9/10 for ARM5 Soft Float:
https://github.com/ev3dev-lang-java/openjdk-ev3

To test the JVM, I am using the following repo to test the VM:
https://github.com/ev3dev-lang-java/vmbenchmarks

And this is the output with the error:

robot at ev3dev:~$ java -jar benchmarks.jar -f 1
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.openjdk.jmh.util.Utils 
(file:/home/robot/benchmarks.jar) to field java.io.Console.cs
WARNING: Please consider reporting this to the maintainers of 
org.openjdk.jmh.util.Utils
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future 
release
=============== DEBUG MESSAGE: Atomic load(jlong) unsupported on this 
platform ================

=============== DEBUG MESSAGE: Atomic store(jlong) unsupported on this 
platform ================


=============== DEBUG MESSAGE: Atomic load(jlong) unsupported on this 
platform ================

[thread 4430 also had an error]
[error occurred during error reporting ((null)), id 0xe0000000]

=============== DEBUG MESSAGE: Atomic store(jlong) unsupported on this 
platform ================


[error occurred during error reporting (printing fatal error message), 
id 0xe0000000]

=============== DEBUG MESSAGE: Atomic store(jlong) unsupported on this 
platform ================


[error occurred during error reporting (printing type of error), id 
0xe0000000]

=============== DEBUG MESSAGE: Atomic store(jlong) unsupported on this 
platform ================


[error occurred during error reporting (printing stack bounds), id 
0xe0000000]

=============== DEBUG MESSAGE: Atomic store(jlong) unsupported on this 
platform ================


[error occurred during error reporting (printing native stack), id 
0xe0000000]

=============== DEBUG MESSAGE: Atomic store(jlong) unsupported on this 
platform ================


[error occurred during error reporting (printing Java stack), id 
0xe0000000]

=============== DEBUG MESSAGE: Atomic store(jlong) unsupported on this 
platform ================


[error occurred during error reporting (printing target Java thread 
stack), id 0xe0000000]

=============== DEBUG MESSAGE: Atomic store(jlong) unsupported on this 
platform ================


[error occurred during error reporting (printing siginfo), id 
0xe0000000]

=============== DEBUG MESSAGE: Atomic store(jlong) unsupported on this 
platform ================


[error occurred during error reporting (CDS archive access warning), id 
0xe0000000]

=============== DEBUG MESSAGE: Atomic store(jlong) unsupported on this 
platform ================


[error occurred during error reporting (printing register info), id 
0xe0000000]

=============== DEBUG MESSAGE: Atomic store(jlong) unsupported on this 
platform ================


[Too many errors, abort]
Aborted

I think that in OpenJDK10 changed something in compare to OpenJDK9 in 
relation to ARM5 support.

Any idea?

Many thanks in advance.

Cheers

Juan Antonio



More information about the build-dev mailing list