问题
From another question, clearly the Intel TSX read/write set is hidden. And this is understandable, especially since it allows them to screw with design and implementation and possibly try things like bloom filters or whatever.
But when a transaction aborts, it would be good to see what address - or cache line - caused it (when such a thing was the reason for the abort). Is the address exposed anywhere?
回答1:
After talking to folks at Intel, there is no way to do this [citation]. The address is not preserved through an abort. There are clever hacks to get, e.g., the address of the instruction that was executed (see citation), but not the address of the write.
来源:https://stackoverflow.com/questions/46671782/tsx-get-the-address-that-caused-the-abort