Skip to content

将HashTable更改为ConcurrentHashMap#956

Merged
binarywang merged 2 commits intobinarywang:developfrom
chuntaojun:develop
Mar 1, 2019
Merged

将HashTable更改为ConcurrentHashMap#956
binarywang merged 2 commits intobinarywang:developfrom
chuntaojun:develop

Conversation

@chuntaojun
Copy link
Copy Markdown

@chuntaojun chuntaojun commented Mar 1, 2019

在看源码时发现有几个用了HashTable,我想既然用了HashTable应该是为了解决并发问题,但是HashTable的并发性能不太行,因此更改为了ConcurrentHashMap

@chuntaojun chuntaojun closed this Mar 1, 2019
@chuntaojun chuntaojun reopened this Mar 1, 2019
@binarywang
Copy link
Copy Markdown
Owner

ConcurrentHashTable 是写错了吧?有这么个玩意吗?

@chuntaojun chuntaojun changed the title 将HashTable更改为ConcurrentHashTable 将HashTable更改为ConcurrentHashMap Mar 1, 2019
@chuntaojun
Copy link
Copy Markdown
Author

ConcurrentHashTable 是写错了吧?有这么个玩意吗?

写错了写错了

@binarywang binarywang merged commit 5d7f69a into binarywang:develop Mar 1, 2019
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

Successfully merging this pull request may close these issues.

2 participants