Issue 489 · Week of May 21, 2026
Feed Jobs Search Platform About Donate
← Back to feed / //dotnet

Managed object internals, Part 2. Object header layout and the cost of locking

Read full article Discuss
Working on my current project I’ve faced a very interesting situation. For each object of a given type, I had to create a monotonically growing identifier with few caveats: 1) the solution should work in multithreaded environment 2) the number of objects is fairly large, up to 10 million instances and 3) identity should be...