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

List:       openjdk-serviceability-dev
Subject:    Integrated: 8294924: JvmtiExport::post_exception_throw() doesn't deal well with concurrent stack pro
From:       Erik =?UTF-8?B?w5ZzdGVybHVuZA==?= <eosterlund () openjdk ! org>
Date:       2022-11-30 14:17:38
Message-ID: _Doo0JxrTmsYBEEb8o8TGbQBwsaunDBBiIhx44LYoHM=.41592c3d-715a-48e7-8651-6957903edc4f () github ! com
[Download RAW message or body]

On Fri, 18 Nov 2022 12:30:19 GMT, Erik Ă–sterlund <eosterlund@openjdk.org> wrote:

> There is a stack walk in JvmtiExport::post_exception_throw() that has safepoints in \
> it. This trips up the stack watermark code. This patch adds a RAII object to \
> JvmtiExport::post_exception_throw() that keeps the thread and its stack fully \
>                 processed throughout the function.
> Testing: tier1-7 of ZGC tests on linux x86_64 debug and manual testing of the test \
> that failed.

This pull request has now been integrated.

Changeset: be4245e8
Author:    Erik Ă–sterlund <eosterlund@openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/be4245e814cc29701cc425d8e66854e36eb3aef0
                
Stats:     6 lines in 1 file changed: 6 ins; 0 del; 0 mod

8294924: JvmtiExport::post_exception_throw() doesn't deal well with concurrent stack \
processing

Reviewed-by: pchilanomate, sspitsyn, dholmes

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

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


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

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