-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
None
-
None
The 4 testcases for the test java.lang.foreign.CallOverheadConstant failed for the 2 thread configuration.
The failure log looks as:
java -jar benchmarks.jar -jvmArgs -Djava.library.path=native -f 1 -wi 3 -w 1 -i 1 -r 1 -t 2 CallOverheadConst
...
java.lang.WrongThreadException: Attempted access outside owning thread
at java.base/jdk.internal.foreign.MemorySessionImpl.wrongThread(MemorySessionImpl.java:322)
at java.base/jdk.internal.misc.ScopedMemoryAccess$ScopedAccessError.newRuntimeException(ScopedMemoryAccess.java:114)
...
It will good to fix testcases or to limit test by 1 thread only.
The failure log looks as:
java -jar benchmarks.jar -jvmArgs -Djava.library.path=native -f 1 -wi 3 -w 1 -i 1 -r 1 -t 2 CallOverheadConst
...
java.lang.WrongThreadException: Attempted access outside owning thread
at java.base/jdk.internal.foreign.MemorySessionImpl.wrongThread(MemorySessionImpl.java:322)
at java.base/jdk.internal.misc.ScopedMemoryAccess$ScopedAccessError.newRuntimeException(ScopedMemoryAccess.java:114)
...
It will good to fix testcases or to limit test by 1 thread only.