Navigation Menu

Skip to content

Commit

Permalink
8253197: vmTestbase/nsk/jvmti/StopThread/stopthrd007/TestDescription.…
Browse files Browse the repository at this point in the history
…java fails with "ERROR: DebuggeeSleepingThread: ThreadDeath lost"

Reviewed-by: dholmes, cjplummer, sspitsyn
  • Loading branch information
pchilano committed Sep 30, 2021
1 parent f08180f commit 9573022
Showing 1 changed file with 4 additions and 4 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2004, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -170,8 +170,8 @@ public stopthrd007ThreadRunning(String name) {
}

public void run() {
stopthrd007.startingBarrier.unlock();
try {
stopthrd007.startingBarrier.unlock();
int i = 0;
int n = 1000;
while (flag) {
Expand Down Expand Up @@ -216,8 +216,8 @@ public stopthrd007ThreadWaiting(String name, long tout) {
}

public synchronized void run() {
stopthrd007.startingBarrier.unlock();
try {
stopthrd007.startingBarrier.unlock();
wait(timeout);
status = 1;
} catch (ThreadDeath t) {
Expand Down Expand Up @@ -249,8 +249,8 @@ public stopthrd007ThreadSleeping(String name, long tout) {
}

public void run() {
stopthrd007.startingBarrier.unlock();
try {
stopthrd007.startingBarrier.unlock();
sleep(timeout);
status = 1;
} catch (ThreadDeath t) {
Expand Down

5 comments on commit 9573022

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GoeLin
Copy link
Member

@GoeLin GoeLin commented on 9573022 Jan 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/backport jdk17u-dev

@openjdk
Copy link

@openjdk openjdk bot commented on 9573022 Jan 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GoeLin the backport was successfully created on the branch GoeLin-backport-95730229 in my personal fork of openjdk/jdk17u-dev. To create a pull request with this backport targeting openjdk/jdk17u-dev:master, just click the following link:

➡️ Create pull request

The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:

Hi all,

This pull request contains a backport of commit 95730229 from the openjdk/jdk repository.

The commit being backported was authored by Patricio Chilano Mateo on 30 Sep 2021 and was reviewed by David Holmes, Chris Plummer and Serguei Spitsyn.

Thanks!

If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk17u-dev:

$ git fetch https://github.com/openjdk-bots/jdk17u-dev GoeLin-backport-95730229:GoeLin-backport-95730229
$ git checkout GoeLin-backport-95730229
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk17u-dev GoeLin-backport-95730229

@GoeLin
Copy link
Member

@GoeLin GoeLin commented on 9573022 Jan 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/backport jdk11u-dev

@openjdk
Copy link

@openjdk openjdk bot commented on 9573022 Jan 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GoeLin the backport was successfully created on the branch GoeLin-backport-95730229 in my personal fork of openjdk/jdk11u-dev. To create a pull request with this backport targeting openjdk/jdk11u-dev:master, just click the following link:

➡️ Create pull request

The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:

Hi all,

This pull request contains a backport of commit 95730229 from the openjdk/jdk repository.

The commit being backported was authored by Patricio Chilano Mateo on 30 Sep 2021 and was reviewed by David Holmes, Chris Plummer and Serguei Spitsyn.

Thanks!

If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk11u-dev:

$ git fetch https://github.com/openjdk-bots/jdk11u-dev GoeLin-backport-95730229:GoeLin-backport-95730229
$ git checkout GoeLin-backport-95730229
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk11u-dev GoeLin-backport-95730229

Please sign in to comment.