diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2026-05-09 15:56:17 -0400 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2026-05-11 19:16:45 -0400 |
| commit | 24a1b097ce92ddb2b5dce59435c557cd19223c43 (patch) | |
| tree | 77d4efda4df21716bf1c34d501db50468e00d244 /ext/json/json.h | |
| parent | da9e38460a776dd8b10d7f42d4630a1e5f3dc455 (diff) | |
Don't use obj_id in Box classext_cow_classes
Using obj_id in classext_cow_classes is slow and also is a problem when
freeing classes because the lookup requires the EC, which is not available
if it is running on a GC thread. This will cause it to crash on MMTk.
We don't need to use the obj_id as the key in the classext_cow_classes
st_table because the class itself is pinned and won't move so we can use
it as the key instead.
Diffstat (limited to 'ext/json/json.h')
0 files changed, 0 insertions, 0 deletions
