diff options
author | Cheng Shao <terrorjack@type.dance> | 2023-03-09 12:35:48 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2023-03-25 03:46:43 -0400 |
commit | b2d14d0b8ebb517139c08934a52791f21fe893f6 (patch) | |
tree | 8fc78eddeb222f457f16a4e69d6f555350ed9694 /rts/RtsSymbols.c | |
parent | 62fa7faaf8ca2d34cda3e3b7c4c6b2d13efa16fe (diff) | |
download | haskell-b2d14d0b8ebb517139c08934a52791f21fe893f6.tar.gz |
rts: use performBlockingMajorGC in hs_perform_gc and fix ffi023
This patch does a few things:
- Add the missing RtsSymbols.c entry of performBlockingMajorGC
- Make hs_perform_gc call performBlockingMajorGC, which restores
previous behavior
- Use hs_perform_gc in ffi023
- Remove rts_clearMemory() call in ffi023, it now works again in some
test ways previously marked as broken. Fixes #23089
Diffstat (limited to 'rts/RtsSymbols.c')
-rw-r--r-- | rts/RtsSymbols.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c index 974f2dbd40..dee6c57f5e 100644 --- a/rts/RtsSymbols.c +++ b/rts/RtsSymbols.c @@ -649,6 +649,7 @@ extern char **environ; SymI_HasProto(updateRemembSetPushClosure_) \ SymI_HasProto(performGC) \ SymI_HasProto(performMajorGC) \ + SymI_HasProto(performBlockingMajorGC) \ SymI_HasProto(prog_argc) \ SymI_HasProto(prog_argv) \ SymI_HasDataProto(stg_putMVarzh) \ |