Closed sergeykolychev closed 6 years ago
I made the change a bit verbose, the reason is that I tried to make it as less intrusive as possible and only act on the retrieval from meta that is broken in the threading environment in master branch. It seems that hv_fetch_ent is substantially faster than hv_fetch so I left it for everything else. I did run benchmarks and did not see any performance degradation.
Hi @skaji This change makes tests related to threads pass. Not sure why hv_fetch succeeds where hv_fetch_ent fails but it's happening only in threading tests. Without the fix
With the fix:
I'll take time and investigate further, but it smells like a bug in perl itself. If possible can you ask @gfx to look at this ? Thanks in advance.