3 ms·
I think the way to look at this is more of as a synchronization technique as opposed to a general-purpose GC algorithm. I don't understand the objection about
by pcwalton 11y ago
I think the way to look at this is more of as a synchronization technique as opposed to a general-purpose GC algorithm.
I don't understand the objection about inlining--could you explain? You could in principle not use function boundaries to delimit the critical section: a range of PC addresses within a function would do just as well.
- pron 11y ago> a range of PC addresses within a function would do just as well Yes, but you'll need to know where those ranges are (i.e. you'll need some feedback from the compiler), and then be very careful that no tool injects any instructions into, or moves code around your executable/library.