ABAP的SM50檢視目前server可用的dialog process。
Hybris
檢視某個thread目前detail狀态:
"TaskExecutor-junit-3459-TriggerTask [8796093416374]" prio=5 tid=0x3459 nid=0xd83 TIMED_WAITING - stats: cpu=0 blk=-1 wait=-1
java.lang.Thread.State: TIMED_WAITING
at sun.misc.Unsafe.park(Native Method)
- parking to wait for java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@3f5b1c05
- java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
at java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:467)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at de.hybris.platform.core.threadregistry.RegistrableThread.internalRun(RegistrableThread.java:145)
at de.hybris.platform.core.threadregistry.RegistrableThread.run(RegistrableThread.java:135)
Locked synchronizers: count = 0
這個功能相當于ABAP的SM50裡輕按兩下某個dialog process看到的detail callstack。
本文來自雲栖社群合作夥伴“汪子熙”,了解相關資訊可以關注微信公衆号"汪子熙"。