Quantcast
Channel: SCN : All Content - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 3285

High cpu load based on fillInStackTrace and ClassNotFoundException

$
0
0

Hi,

We are currently migrate our solution from JBoss to SAP HANA Cloud Platform.

 

After solving the most issues, we are fighting on a problem with high CPU load.

After startup when the system is used the first time, the system is slowing down.

 

The profiler shows that a most time is consumed by

-> java.lang.Throwable.fillInStackTrace

          ->after ClassNotFoundException

 

00002.screenshot.png

 

 

After some debug sessions it looks for us that the problem is that the classloader tries to load the classes from the system and bootstrap loader and then at the end from the /WEB-INF/lib where the classes then found.

 

For our understanding, this is the normal classloader hierarchy for JEE but the high CPU load looks not OK.

 

Is there a way to change the classloader order or to avoid the fillInStackTrace time consumption?

 

 

HAND (have a nice day)

Achim


Viewing all articles
Browse latest Browse all 3285

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>