SAP Knowledge Base Article - Preview

2589737 - Slow Performance and BLOCKED HashCodeBuilder threads when adding to cart in SAP Commerce


When a storefront is under load and many users are adding items to their carts, there is a slowdown in performance. Taking a thread dump from the time of the slowdown will show many BLOCKED threads similar to this:

"hybrisHTTP190" prio=5 tid=0x490 nid=0x1e6 BLOCKED owned by hybrisHTTP420 Id=822 - stats: cpu=27412 blk=-1 wait=-1
java.lang.Thread.State: BLOCKED
at org.apache.commons.lang.builder.HashCodeBuilder.unregister(
- waiting to lock java.lang.Class@1a889760
at org.apache.commons.lang.builder.HashCodeBuilder.reflectionAppend(
at org.apache.commons.lang.builder.HashCodeBuilder.reflectionHashCode(
at org.apache.commons.lang.builder.HashCodeBuilder.reflectionHashCode(
at de.hybris.platform.ruleengineservices.rao.AbstractActionedRAO.hashCode(
at org.drools.core.base.extractors.BaseObjectClassFieldReader.getHashCode(




SAP Commerce Cloud 2105 ; SAP Commerce Cloud 2205 ; SAP Commerce Cloud 2211


hybris, addtocart, RAO, Promotions, Drools, Rules, newpromotionsengine , KBA , CEC-SCC-COM-PRO-RE , Rule Engine , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.