Blocking caused by java.util.Calendar.setWeekCountData
671656Dec 4 2008 — edited Mar 3 2011I'm seeing a lot of latency in a WebLogic app with several threads (10) creating date objects. This is the trace causing the problems:
java.util.Hashtable.get(Object)
. java.util.Calendar.setWeekCountData(Locale)
. . java.util.Calendar.<init>(TimeZone, Locale)
. . . java.util.GregorianCalendar.<init>(TimeZone, Locale)
. . . . java.util.Calendar.getInstance(TimeZone, Locale)
. . . . . (my method)
It is causing almost all of the blocking shown in the snapshot below.
I'm using JRockit 1.4.2_17 (build 1.4.2_17-b06)
BEA JRockit(R) (build R27.6.0-50_o-100423-1.4.2_17-20080626-2105-windows-ia32, compiled mode)
Any ideas how I can get around this blocking?
Thanks!!
!http://i33.tinypic.com/24picnt.jpg!