Skip to content

Merge experiments onto main 2025-06-02#36

Merged
wavewave merged 9 commits into
mainfrom
experiments-20250602
Jun 3, 2025
Merged

Merge experiments onto main 2025-06-02#36
wavewave merged 9 commits into
mainfrom
experiments-20250602

Conversation

@wavewave

@wavewave wavewave commented Jun 3, 2025

Copy link
Copy Markdown
Collaborator
  • SigTERM handler
  • Copy Interp to the cache
  • A few refatoring

tek and others added 9 commits June 2, 2025 21:54
Change-Id: Id7ce3f807787c974f96392b2d531df737c4ba13c
When multiple threads attempt to write the same file, the program
crashes

Change-Id: Iec2a526b2139ca7067704a7769aaf89a3d8d1f9a
Change-Id: I8d030c719cbd5eccdff037af8d0f61e2819f454d
Change-Id: I54dc3ea6cbf0f3866c17e94b4a8e43e4607a0c05
Change-Id: Iddd4fa5730d27c996525ba83394de0a966eb11fd
Change-Id: I13f967f82d3b64e92933464854b568a76af3c1d6
Change-Id: I675fd1a3abe3fed9c3ea679008fa285c5e22b3ae
Change-Id: Ica495665e24d8a03f77754de73b7037097e82b8a
This is a quick fix, we'll build something more solid next.

The `Interp` is initialized only in `setTopSessionDynFlags` after the
flags have been parsed, not in `newHscEnv`.
This has the effect that the `MVar` in `Loader` will be recreated in
each module compilation, causing significant memory leaks.

Change-Id: I78193633d4ecebcb719f6e313c18aeb402b95169
@wavewave wavewave merged commit 427a6ae into main Jun 3, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants