diff options
author | Ben Gamari <ben@smart-cactus.org> | 2022-08-06 11:51:35 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2022-08-06 11:51:35 -0400 |
commit | 6d1700b6dca6defb8768c493a1059c4215749b53 (patch) | |
tree | 80dc3968bb4073cd6f06e39a040f32a5a5360e31 /utils | |
parent | aa818a9f83308d0742e8f8c91cb9878182dacce5 (diff) | |
download | haskell-6d1700b6dca6defb8768c493a1059c4215749b53.tar.gz |
rts: Move thread labels into TSO
This eliminates the thread label HashTable and instead tracks this
information in the TSO, allowing us to use proper StgArrBytes arrays for
backing the label and greatly simplifying management of object lifetimes
when we expose them to the user with the coming `threadLabel#` primop.
Diffstat (limited to 'utils')
-rw-r--r-- | utils/deriveConstants/Main.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/deriveConstants/Main.hs b/utils/deriveConstants/Main.hs index ca17b061e4..4dd187cd52 100644 --- a/utils/deriveConstants/Main.hs +++ b/utils/deriveConstants/Main.hs @@ -448,6 +448,7 @@ wanteds os = concat ,closureField C "StgTSO" "flags" ,closureField C "StgTSO" "dirty" ,closureField C "StgTSO" "bq" + ,closureField C "StgTSO" "label" ,closureField Both "StgTSO" "alloc_limit" ,closureField_ Both "StgTSO_cccs" "StgTSO" "prof.cccs" ,closureField Both "StgTSO" "stackobj" |