Comments (3)
Intptrcast state cannot just be cleaned up on deallocation. I tried doing that and I didn't get the test failures I was hoping to see. Perhaps the tag GC can help us again here, or maybe we can only clean up one side of the mapping.
This would need an AllocId
GC instead of tag GC, and even then I am not sure whether it is sufficient. We'd have to be very sure that future int2ptr calls behave the same before after after cleanup.
The dead allocs map in the interpreter. Based on the comments, I don't think we need this in Miri?
It will be used at least with -Zmiri-symbolic-alignment
.
from miri.
We'd have to be very sure that future int2ptr calls behave the same before after after cleanup.
This is what I was getting at with the "+ the set of exposed allocs". I think expose_addr
is simply asking for a leak, and so it shall be in the interpreter.
from miri.
Since rust-lang/rust#118336 landed, I think this is done. I don't observe memory growth anymore.
from miri.
Related Issues (20)
- ICE: InterErrorInfo / Unsupported with `-Zmiri-symbolic-alignment-check`
- Stop recommending cargo clean? HOT 1
- "./miri test" is very slow on repeated executions HOT 7
- CI: Linux test often takes >1h HOT 3
- convert intrinsic shims to intrinsics with fallback bodies HOT 1
- Add direct tests for the Windows RNG functions HOT 2
- Miri does not work with a sysroot built without cfg(miri) HOT 12
- Broken sysroot when custom "release" profile sets `panic="abort"` HOT 7
- miri fmt failing on Windows HOT 7
- Ship Miri on stable toolchains HOT 2
- Execution Traces HOT 3
- miri clippy failing on Windows HOT 3
- `Box` in custom allocator fails even with `-Zmiri-tree-borrows` HOT 23
- Tree Borrows pointer tag tracing does not show when a tag gets disabled
- Alloc access tracking shows spurious reads after each write
- Make it possible to hide certain functions in MIRI_LOG output
- Disable diagnostic duplication
- Start/stop verbose tracing dynamically
- Possible false positive in data race detection HOT 8
- Set MIRI_TEMP to a fresh temporary directory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from miri.