RFR: 8262271: SA: Add new stress test that tests getting the stack trace of an active thread

David Holmes david.holmes at oracle.com
Thu Feb 25 05:20:11 UTC 2021


Hi Chris,

On 25/02/2021 1:59 pm, Chris Plummer wrote:
> This a new test that runs jstack on a process that is busy doing things. It runs jstack 4 times as the process is starting up.

Sorry but I don't see how this ensures it runs jstack as the jshell is 
starting up, the startup could be complete before even one jstack gets 
issued.

Cheers,
David

> -------------
> 
> Commit messages:
>   - Fix @bug
>   - Add JStackStressTest
> 
> Changes: https://git.openjdk.java.net/jdk/pull/2720/files
>   Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2720&range=00
>    Issue: https://bugs.openjdk.java.net/browse/JDK-8262271
>    Stats: 115 lines in 1 file changed: 115 ins; 0 del; 0 mod
>    Patch: https://git.openjdk.java.net/jdk/pull/2720.diff
>    Fetch: git fetch https://git.openjdk.java.net/jdk pull/2720/head:pull/2720
> 
> PR: https://git.openjdk.java.net/jdk/pull/2720
> 


More information about the core-libs-dev mailing list