"Waiting to lock" issue when same user login in multiple sessions at the same time, we are facing this issue and once this happens server is not returning response to browser and the browser is keep on processing. we got the below log.
| "hybrisHTTP61" daemon prio=10 tid=0x00007f106cd56800 nid=0x473c waiting for monitor entry [0x00007f108b150000] INFO | jvm 1 | main | 2014/08/26 08:55:48.980 | java.lang.Thread.State: BLOCKED (on object monitor) INFO | jvm 1 | main | 2014/08/26 08:55:48.980 | at de.hybris.platform.jalo.order.AbstractOrderEntry.setQuantity(AbstractOrderEntry.java:244) INFO | jvm 1 | main | 2014/08/26 08:55:48.980 | - waiting to lock (a de.hybris.platform.jalo.order.Cart) INFO | jvm 1 | main | 2014/08/26 08:55:48.980 | at sun.reflect.GeneratedMethodAccessor487.invoke(Unknown Source) INFO | jvm 1 | main | 2014/08/26 08:55:48.980 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) INFO | jvm 1 | main | 2014/08/26 08:55:48.980 | at java.lang.reflect.Method.invoke(Method.java:606) INFO | jvm 1 | main | 2014/08/26 08:55:48.981 | at de.hybris.platform.jalo.type.ReflectionAttributeAccess$AttributeMethod.invokeSetter(ReflectionAttributeAccess.java:797) INFO | jvm 1 | main | 2014/08/26 08:55:48.981 | at de.hybris.platform.jalo.type.ReflectionAttributeAccess.setValue(ReflectionAttributeAccess.java:965)
Thanks in advance, Vinay