Skip to content

Conversation

@Araq
Copy link
Member

@Araq Araq commented Nov 11, 2025

TODO:

  • test writing of .nif files
  • implement loading of fields in PType/PSym that might not have been loaded
  • implement interface logic
  • implement pragma "replays"
  • implement special logic for converter
  • implement special logic for method
  • test the logic holds up for export
  • implement logic to free the memory of PSym/PType if memory pressure is high
  • implement logic to close memory mapped files if too many are open.

demotomohiro and others added 30 commits November 6, 2025 04:50
…angling (#25264)

fixes #25263

- [x] documentation and changelogs
This PR, courtesy of @NagyZoltanPeter
(waku-org/nwaku#3522) adds the ability to track
memory allocations in a program suitable for use with
[heaptrack](https://github.com/KDE/heaptrack).

By passing `-d:heaptrack --debugger:native` to compilation, calls to
heaptrack will be injected when memory is being allocated and released -
unlike `-d:useMalloc` this strategy also works with `refc` and the
default memory pool.

See https://github.com/KDE/heaptrack for usage examples. The resulting
binary needs to be run with `heaptrack` and with the shared
`libheaptrack_preload.so` in the `LD_LIBRARY_PATH`.
…e temporary destruction (#25255)

fixes #25251

enforce a copy if the arg is a deref of a lent pointer since the arg
could be a temporary that will go out of scope
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.

5 participants