Integrated: Loom preempt3
Coleen Phillimore
coleenp at openjdk.java.net
Thu Jun 24 21:30:12 UTC 2021
On Wed, 16 Jun 2021 16:30:17 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> This is my cleaned up version of preemption where one thread suspends another, walks the stack and allocates the frozen frame. There are some asserts to verify this preempt situation and the jump in handle_special_runtime_exit_condition might need to be moved somewhere safer. Robbin wasn't happy with the fact that while suspended, another thread can handshake this thread and modify the stack, even though the loom code doesn't do that. I think this is better for now though and hasn't significantly changed in a while, so I'd like to check this in for now.
This pull request has now been integrated.
Changeset: b6d61a8f
Author: Coleen Phillimore <coleenp at openjdk.org>
URL: https://git.openjdk.java.net/loom/commit/b6d61a8f2077d05aae765d0e1b04ff9fe40e7d4a
Stats: 411 lines in 7 files changed: 277 ins; 52 del; 82 mod
Loom preempt3
-------------
PR: https://git.openjdk.java.net/loom/pull/48
More information about the loom-dev
mailing list