If the following log to HashMap
is observed
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)
For an example, take a look at SomeUtil.java
or have the developer look at it.
Is HashMap used with proper exclusive control?
-Case where OutOfMemoryError occurs in HashMap -HashMap, infinite loop and synchronized -Is the infinite corridor hidden in Thread and HashMap really interesting? -Infinite loop with static HashMap.put () in multithreading
-Exclusive control and that -Let newcomers experience exclusive control by pessimistic lock
Recommended Posts