1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

ログからアタリを付ける、ハングの原因となるHashMapの使い方

Last updated at Posted at 2020-06-11

以下のような HashMap へのログが観測されたら

Sample1.log
	at java.util.HashMap.findNonNullKeyEntry(HashMap.java:605)
	at java.util.HashMap.putImpl(HashMap.java:701)
	at java.util.HashMap.put(HashMap.java:684)
	at zzz.yyy.xxx.setSomething(SomeUtil.java:nnn)
Sample2.log
	at java.util.HashMap$TreeNode.putTreeVal(HashMap.java:2013)
	at java.util.HashMap.putVal(HashMap.java:648)
	at java.util.HashMap.put(HashMap.java:622)
	at zzz.yyy.xxx.setSomething(SomeUtil.java:nnn)

例の場合、SomeUtil.java を見ましょう or 開発者に見てもらいましょう。

HashMap は適切に排他制御をして使えているでしょうか。

HashMapおさらい

排他制御おさらい

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?