[PATCH] 8246633: Improve the performance of ObjectInputStream.resolveClass(ObjectStreamClass)
Alan Bateman
Alan.Bateman at oracle.com
Sat Jun 13 14:23:59 UTC 2020
On 12/06/2020 21:04, Peter Kessler (Open Source) wrote:
> Daniel,
>
> Thanks for the suggestions to increase the timeout and lower the
> concurrency. I did Bad Science(TM) and changed them both at the same
> time. I am now running
>
> $ jtreg-5.0-b01/bin/jtreg \
> -verbose:summary -a -ea -esa -agentvm -conc:1 -ignore:quiet -timeout:4 \
> -exclude:./test/jdk/ProblemList.txt \
> -jdk:${jdk} \
> ./test/jdk/:jdk_core ./test/jdk/:jdk_svc
>
> I only had time for 2 tests of each jdk overnight, because running that
> way takes much longer, but the results are less confusing.
>
> Running on x86_64, counting failures and errors in 2 runs with OracleJDK
> build 15-ea+25-1229
>
> 2 Error: java/lang/ClassLoader/nativeLibrary/NativeLibraryTest.java
> 2 Error: java/lang/instrument/HiddenClass/HiddenClassAgent.java
> 2 Error: java/lang/reflect/exeCallerAccessTest/CallerAccessTest.java
> 2 Error: java/lang/String/nativeEncoding/StringPlatformChars.java
> 2 Error: java/nio/channels/FileChannel/directio/DirectIOTest.java
> 2 Error: java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java
> 2 Error: jdk/internal/loader/NativeLibraries/Main.java
> 2 Error: Some tests failed or other problems occurred.
> 2 Error: sun/management/jmxremote/bootstrap/CustomLauncherTest.java
> 2 Error: tools/launcher/JliLaunchTest.java
>
These are tests that use native libraries and need jtreg run with
-nativepath with the path to these libraries. The "test" make target
might be want you want, to avoid your jtreg command getting too complicated.
-Alan
More information about the core-libs-dev
mailing list