Skip to content
Commit Detail

Commit e818a75

Author
Kenton Varda <kenton@cloudflare.com> 2025-05-02 16:45:57 -0500
Parents
901e801
Tree
d7092c7
Refactor: Move isolate UUID from jsg::Lock to Worker::Isolate.

It turns out the only production use of this API is at `Worker::Actor` creation time, and only for metrics purposes. I would like to eliminate the need for holding the isolate lock when constructing an Actor, but then I can't get the UUID. Moving the UUID to be stored on the Worker::Isolate object makes it easy to get at without a lock.

Files changed

8 files changed~8 modified