Tomcat starts the project normally, and after a period of time (the API), cpu is not called, it soars to 100%?

for example, start the Tomcat server normally (though it takes a long time)

,,cpu10%100%

Mar.31,2021

the high occupancy rate of cpu should be an easy problem to locate. You can use several tools provided by jdk, such as jstack, jvisualvm, etc., to obtain the call stack of each thread in the thread dump,thread dump of this process. You can see which thread is busy, and then debug or review the code specifically.

For more information on how to obtain thread dump, please see
https://access.redhat.com/sol.

.

has been resolved, although the problem is unknown. I have checked that there is no problem with the thread before, and for the same project, I have CPU100%, here, but it is normal on the side of my colleagues. Doubt is the problem of the system itself, but due to the busy business, has been afraid to reinstall, until a few days ago to replace the new system, the problem solved.
original system: Lenovo-windows10 Family Chinese version
New system: Lenovo-windows10 Educational Edition

Menu