Re: CPU spikes and performance problems with Connector/J 5.1.12
Posted by: Juliano DeCarvalho
Date: January 02, 2014 01:37PM

We are still seeing this problem daily. We have a very high number of threads at the following lines of code in PreparedStatement.ParseInfo() constructor:

for (i = statementStartPos; i < this.statementLength; ++i) {
char c = sql.charAt(i);

The String.charAt() call is taking forever to return in some cases, and I'm not sure why. To me this seems like a fairly simple char array lookup. We are using JDK 1.6.0_45. Any help or ideas would be greatly appreciated.



Edited 1 time(s). Last edit at 01/02/2014 01:38PM by Juliano DeCarvalho.

Options: ReplyQuote


Subject
Written By
Posted
Re: CPU spikes and performance problems with Connector/J 5.1.12
January 02, 2014 01:37PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.