We are using SNMP4J version 1.11.4 for a legacy application running in Java 1.4 environment. The application behaved slower than expected and profiling showed that there is hotspot in PrivDES.encrypt() method. This method in turn calls javax.crypto.Cipher.getInstance(String) method (apparently on each message transmission) and Cipher.getInstance(String) is the expensive and CPU intensive call. Can you please suggest if:
1. This might be due wrong way of calling SNMP4J api (and also point to a reference code for correct usage to prevent this problem) 2. Is this an inherent problem with Java 1.4 code? 3. Is this a problem with SNMP 1.11.4 code (it is not caching the obtained cipher object)? Thanks in advance for the help. -Praveen _______________________________________________ SNMP4J mailing list SNMP4J@agentpp.org http://lists.agentpp.org/mailman/listinfo/snmp4j