File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -57,11 +57,13 @@ class loader_life_support {
57
57
using loader_storage = fake_thread_specific_storage;
58
58
59
59
static loader_storage &get_stack_top () {
60
- // Observation: loader_life_support needs to be thread-local, but
61
- // we don't need to go to extra effort to keep it per-interpreter
62
- // (i.e., by putting it in internals) since function calls are
63
- // already isolated to a single interpreter.
64
- // This saves a significant cost per function call spent in
60
+ // Observation: loader_life_support needs to be thread-local,
61
+ // but we don't need to go to extra effort to keep it
62
+ // per-interpreter (i.e., by putting it in internals) since
63
+ // individual function calls are already isolated to a single
64
+ // interpreter, even though they could potentially call into a
65
+ // different interpreter later in the same call chain. This
66
+ // saves a significant cost per function call spent in
65
67
// loader_life_support destruction.
66
68
static thread_local fake_thread_specific_storage storage;
67
69
return storage;
You can’t perform that action at this time.
0 commit comments