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

8273635: Attempting to acquire lock StackWatermark_lock/9 out of order with lock tty_lock/3

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
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
@@ -45,10 +45,10 @@ class Mutex : public CHeapObj<mtSynchronizer> {
// Special low level locks are given names and ranges avoid overlap.
enum lock_types {
event,
tty = event + 3,
service = tty + 3,
service = event + 3,
stackwatermark = service + 3,
special = stackwatermark + 3,
tty = stackwatermark + 3,
special = tty + 3,
oopstorage = special + 3,
leaf = oopstorage + 2,
safepoint = leaf + 10,
@@ -36,7 +36,7 @@
/*
* @test
* @bug 8273456
* @summary Test that ttyLock isn't held when taking StackWatermark_lock
* @summary Test that ttyLock is ranked about StackWatermark_lock
coleenp marked this conversation as resolved.
Show resolved Hide resolved
* @requires !vm.graal.enabled & vm.gc.Z
* @run main/othervm -XX:-BackgroundCompilation -Xmx128M -XX:+IgnoreUnrecognizedVMOptions -XX:+VerifyStack
* -XX:CompileCommand=exclude,compiler.uncommontrap.TestDeoptOOM::main