jdk1.7 Double.parseDouble become slow in multithread condition with large calculate

30 views Asked by At

http://dalelane.co.uk/blog/?p=2936

jdk1.7 Double.parseDouble() become very slow in multiThread condition, it's a bug in jdk1.7 and fix in jdk1.8

1

There are 1 answers

0
zhi.wang On

upgrade jdk1.7 to jdk1.8 to solve this problem, because in jdk1.7 Double.parseDouble() will cause lock competition