On Fri, 18 Nov 2022 12:30:19 GMT, Erik Österlund <eosterl...@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 <eosterl...@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

Reply via email to