Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

面经手册 · 第12篇《面试官,ThreadLocal 你要这么问,我就挂了!》里面 4.2 设置元素是否有误? #354

Open
mozou opened this issue Oct 31, 2022 · 0 comments

Comments

@mozou
Copy link

mozou commented Oct 31, 2022

文中:情况3,待插入的下标,不为空,key 不相同,拉链法寻址,但是ThreadLocal是不存在链表结构的吧?ThreadLocal是Entry数组,这里使用的应该是开放寻址,而不是拉链法寻址。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant