RFR: Reimplement TsanOopMap support using WeakHandle and ResizeableResourceHashtable [v6]

Jiangli Zhou jiangli at openjdk.org
Sat Jul 27 00:39:42 UTC 2024


On Wed, 24 Jul 2024 20:19:55 GMT, Man Cao <manc at openjdk.org> wrote:

> Even if we run into an entry whose _obj is freed, _wh.peek() should also return null in that case. So there's no need to look at _wh

That's true. I changed to just do `lhs._obj == rhs._obj`. I think it's safer to not add `lhs._obj != nullptr` assert.

-------------

PR Review Comment: https://git.openjdk.org/tsan/pull/19#discussion_r1693708848


More information about the tsan-dev mailing list