Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8308589: gc/cslocker/TestCSLocker.java timed out #14150

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions test/hotspot/jtreg/gc/cslocker/TestCSLocker.java
Expand Up @@ -32,6 +32,13 @@
* @summary This short test check RFE 6186200 changes. One thread locked
* @summary completely in JNI CS, while other is trying to allocate memory
* @summary provoking GC. OOM means FAIL, deadlock means PASS.
*
* @comment This test assumes that no allocation happens during the sleep loop, \
* which is something that we can't guarantee. With Generational ZGC we \
* see test timeouts because the main thread allocates and waits for the \
* GC, which waits for the CSLocker, which waits for the main thread. \
* @requires !vm.opt.final.ZGenerational
*
* @run main/native/othervm -Xmx256m gc.cslocker.TestCSLocker
*/

Expand Down