Re: RFR: 8309612: [REDO] JDK-8307153 JVMTI GetThreadState on carrier should return STATE_WAITING [v5]

2023-06-07 Thread Chris Plummer
On Wed, 7 Jun 2023 21:22:41 GMT, Serguei Spitsyn  wrote:

>> This is REDO the fix of 
>> [JDK-8307153](https://bugs.openjdk.org/browse/JDK-8307153).
>> The last update of the fix in the review cycle was incorrect and incorrectly 
>> tested, so the issue has not been noticed. It is why the fix was backed out.
>> The issue is that the SUSPEND bit was missed in the JVMTI thread state of 
>> platform/carrier threads carrying virtual threads 
>> (see`JvmtiEnvBase::get_thread_state` function).
>> 
>> The first push/patch is the original fix of JDK-8307153.
>> The fix of the SUSPEND bit issue will be in the incremental update.
>> It is to simplify the review.
>> 
>> Testing:
>>  - TBD: mach5 tiers 1-5
>
> Serguei Spitsyn has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   review: added/adjusted some comments

Marked as reviewed by cjplummer (Reviewer).

-

PR Review: https://git.openjdk.org/jdk/pull/14366#pullrequestreview-1468678777


Re: RFR: 8309612: [REDO] JDK-8307153 JVMTI GetThreadState on carrier should return STATE_WAITING [v5]

2023-06-07 Thread Serguei Spitsyn
> This is REDO the fix of 
> [JDK-8307153](https://bugs.openjdk.org/browse/JDK-8307153).
> The last update of the fix in the review cycle was incorrect and incorrectly 
> tested, so the issue has not been noticed. It is why the fix was backed out.
> The issue is that the SUSPEND bit was missed in the JVMTI thread state of 
> platform/carrier threads carrying virtual threads 
> (see`JvmtiEnvBase::get_thread_state` function).
> 
> The first push/patch is the original fix of JDK-8307153.
> The fix of the SUSPEND bit issue will be in the incremental update.
> It is to simplify the review.
> 
> Testing:
>  - TBD: mach5 tiers 1-5

Serguei Spitsyn has updated the pull request incrementally with one additional 
commit since the last revision:

  review: added/adjusted some comments

-

Changes:
  - all: https://git.openjdk.org/jdk/pull/14366/files
  - new: https://git.openjdk.org/jdk/pull/14366/files/4defcf2e..8f26e277

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk=14366=04
 - incr: https://webrevs.openjdk.org/?repo=jdk=14366=03-04

  Stats: 7 lines in 2 files changed: 4 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/14366.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14366/head:pull/14366

PR: https://git.openjdk.org/jdk/pull/14366