RFR: 8298059: Linked stack watermarks don't support nesting [v3]

Erik Österlund eosterlund at openjdk.org
Tue Dec 13 14:42:58 UTC 2022


On Tue, 13 Dec 2022 14:20:17 GMT, Robbin Ehn <rehn at openjdk.org> wrote:

> EscapeBarrier do `KeepStackGCProcessedMark ksgcpm(deoptee_thread())` while the deoptee/target thread is blocked.
> 
> So to me it seem like a concurrent handshake may also create a KeepStackGCProcessedMark.
> 
> Thus this lock should be needed ?

The passed in thread is which thread Thread::current wants to keep processed. So the data structure manipulated is on Thread::current.

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

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


More information about the hotspot-runtime-dev mailing list