Skip to content

Commit

Permalink
fix deadlock with carrier threads starvation in ObjectMonitorUsage test
Browse files Browse the repository at this point in the history
  • Loading branch information
sspitsyn committed Mar 1, 2024
1 parent 0671164 commit f79fc43
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@
* - all the above scenarios are executed with platform and virtual threads
* @requires vm.continuations
* @requires vm.jvmti
* @run main/othervm/native -agentlib:ObjectMonitorUsage ObjectMonitorUsage
* @run main/othervm/native
* -Djdk.virtualThreadScheduler.parallelism=10
* -agentlib:ObjectMonitorUsage ObjectMonitorUsage
*/

public class ObjectMonitorUsage {
Expand Down

0 comments on commit f79fc43

Please sign in to comment.