| We upgraded hibernate version from 4.3.5 to 5.4.2 in our java enterprise web application. There were no other changes made in the application. On executing a load test for one of the features we observed a 15%-20% increase in the cpu usage. We profiled the two application deployments (before and after) twice using jvisualvm and generated flame graphs (using sjk tool) for both the versions. Once the profiling was done for 5 mins and the next run was done for 30 mins. Kindly find the profiling snapshots and the flame graphs attached. Note the flame graphs take ~ 20 mins to open in browser. Please troubleshoot this further and let us know what could be the root cause |