rts/CheckUnload: Don't prepare to unload if we can't unload
Previously `prepareUnloadCheck` would move the `objects` list to `old_objects` even when profiling (where we cannot unload). This caused us to vacate the `objects` list during major GCs, losing track of loaded objects. Fix this by ensuring that `prepareUnloadCheck` and `checkUnload` both use the same short-cutting logic.
parent
ef2052a8
No related branches found
No related tags found
Pipeline #104382 passed with warnings
Stage: tool-lint
Stage: quick-build
Stage: full-build
Stage: packaging
Stage: testing
Stage: deploy
-
mentioned in merge request !13714 (closed)
-
mentioned in commit f43b1d65
-
mentioned in commit fadf2fb3
-
mentioned in commit ae36c9e7
-
mentioned in merge request !13913 (merged)
Please register or sign in to comment