Avoid mallocs while iterating shared hash table.
The hash table iterator holds a spinlock on the hash table, and there's a GPOS_ASSERT_NO_SPINLOCK in PvMalloc. Writing to the dumper stream can cause allocations, so avoid doing that while iterating.
Showing
想要评论请 注册 或 登录