Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Blocking caused by java.util.Calendar.setWeekCountData

671656Dec 4 2008 — edited Mar 3 2011
I'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!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 31 2011
Added on Dec 4 2008
5 comments
4,329 views