On Thu, 24 Oct 2024 21:08:47 GMT, Patricio Chilano Mateo <pchilanom...@openjdk.org> wrote:
>> I guess I don't understand where this piece code fits in the overall >> transition of the virtual thread to being parked. I would have expected the >> LockStack to already have been moved by the time we switch identities to the >> carrier thread. > > We don't unmount the virtual thread here, we just temporarily change the > thread identity. You could think of this method as > switchIdentityToCarrierThread if that helps. Sorry to belabour this but why are we temporarily changing the thread identity? What is the bigger operation that in underway here? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/21565#discussion_r1815762233