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

Jiangli Zhou jiangli at openjdk.org
Mon Jul 29 20:06:22 UTC 2024


On Sat, 27 Jul 2024 02:21:50 GMT, Man Cao <manc at openjdk.org> wrote:

>> Jiangli Zhou has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   - Use cast_from_oop<T> in various places when coverting oop to different types.
>>   - Change TsanOopMapTableKey::_obj to 'oop'.
>>   - Change TsanOopMapTableKey::equals to just do `lhs._obj == rhs._obj`.
>
> src/hotspot/share/tsan/tsanOopMap.cpp line 33:
> 
>> 31: #include "memory/resourceArea.hpp"
>> 32: #include "oops/oop.inline.hpp"
>> 33: #include "runtime/atomic.hpp"
> 
> We can probably remove `#include` for `atomic.hpp` and `resizeableResourceHash.hpp`.

Removed.

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

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


More information about the tsan-dev mailing list