When you use the "Generate thread dump." tool in the control panel, as introduced in
LEP-4518, Liferay generates a non-standard thread dump. This thread dump cannot be analyzed by most thread analysis tools.
As the thread dump code is also used in
LPS-12833, it is desirable to replace the non-standard thread dump with a more standard thread dump generated with built-in JDK tools like jstack whenever it is possible to determine the process id for the Java process. That way, thread dumps can be analyzed with a tool rather than analyzed manually.