进行代码路径分析,以查看阻塞请求并发执行的代码中是否存在同步阻塞。
Do code path analysis to see if there is a synchronized block in the code that is blocking requests to execute concurrently.
Health Center可视化锁行为并突出显示那些正在阻塞请求且有可能影响性能的锁。
The Health Center visualizes lock activity and highlights locks that are blocking requests and potentially affecting performance.
对于中断请求,不阻塞但是仍然要花较长时间执行的方法可以轮询中断状态,并在被中断的时候提前返回。
Methods that do not block but that still may take a long time to execute can respect requests for interruption by polling the interrupted status and return early if interrupted.
应用推荐