RFR: 8266130: convert Thread-SMR stress tests from counter based to time based [v3]
Daniel D.Daugherty
dcubed at openjdk.java.net
Tue Jun 8 17:17:37 UTC 2021
> The Thread-SMR project added counter based tests for various APIs.
> See "JDK-8167108 inconsistent handling of SR_lock can lead to crashes".
>
> Time based tests are more appropriate for stress kits so I'm
> updating the counter based tests to be time based instead.
>
> Two of the updated tests have shaken out failures that are tracked by:
>
> JDK-8264605 vmTestbase/nsk/jvmti/SuspendThread/suspendthrd003/TestDescription.java failed with "agent_tools.cpp, 471: (foundThread = (jthread) jni_env->NewGlobalRef(foundThread)) != NULL"
>
> JDK-8266593 vmTestbase/nsk/jvmti/PopFrame/popframe011 fails with "assert(java_thread == _state->get_thread()) failed: Must be"
>
> These updated tests are tested via Mach5 Tier[134567].
> They have also been test by my Stress Kit runs for jdk-17+2[0-5].
Daniel D. Daugherty has updated the pull request incrementally with one additional commit since the last revision:
ProblemList vmTestbase/nsk/jvmti/SuspendThread/suspendthrd003/TestDescription.java until 8264605 is fixed and vmTestbase/nsk/jvmti/PopFrame/popframe011/TestDescription.java until 8266593 is fixed.
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/4237/files
- new: https://git.openjdk.java.net/jdk/pull/4237/files/2ab79a2c..5c2633dd
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4237&range=02
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4237&range=01-02
Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/4237.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/4237/head:pull/4237
PR: https://git.openjdk.java.net/jdk/pull/4237
More information about the serviceability-dev
mailing list