[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Integrated: 8266593: vmTestbase/nsk/jvmti/PopFrame/popframe011 fails with "assert(java_thread == _st
From:       Serguei Spitsyn <sspitsyn () openjdk ! java ! net>
Date:       2021-11-22 10:51:13
Message-ID: UoUlpfcuwGWGU6wX0ZDpSbmKlNfb2r5zkq-1nTzDeeY=.6ef61c45-e0df-4886-aebb-ad30c6641f5c () github ! com
[Download RAW message or body]

On Wed, 17 Nov 2021 22:21:33 GMT, Serguei Spitsyn <sspitsyn@openjdk.org> wrote:

> The test fails when the target JavaThread has is_exiting() status. In such a case \
> the JvmtiExport::cleanup_thread(this) has already made a clean up of its \
> jvmtiThreadState, so the JavaThread address returned by _state->get_thread() is \
> 0xbabababababababa. The fix is to add a check for is_exiting() status into \
> handshake closure do_thread() early. There following handshake closures are fixed \
>                 by this update:
> - UpdateForPopTopFrameClosure
> - SetForceEarlyReturn
> - SetFramePopClosure

This pull request has now been integrated.

Changeset: 32839ba0
Author:    Serguei Spitsyn <sspitsyn@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/32839ba012f0a0a66e249cd8d12b94499d82ec0a
                
Stats:     22 lines in 2 files changed: 10 ins; 6 del; 6 mod

8266593: vmTestbase/nsk/jvmti/PopFrame/popframe011 fails with "assert(java_thread == \
_state->get_thread()) failed: Must be"

Reviewed-by: mdoerr, lmesnik, dcubed

-------------

PR: https://git.openjdk.java.net/jdk/pull/6440


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic