TSX: Get the address that caused the abort

佐手、 提交于 2020-05-29 07:46:06

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!