There are multiple ways to debug problems of the above
nature. 1. More debug statements can be added to the application code.
Application developers need to modify the code and application must be
redeployed into the application server.
2. Disable JIT, this should enable JVM to print the line numbers for
the failing stack. With this option, there could be huge performance
impact. This will be a quick way to get line number, if performance is not
a major concern.
3. Selectively disable JIT for the failing methods. For this technique,
you will have to find the class/methods of interest and configure JVM to
disable JIT for those specific classes. For the above failing stack, you
will have to follow instructions to selectively
disable JIT for the classes of interest.
|