You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2019/04/27 12:54:06 UTC
[GitHub] [skywalking] IanCao opened a new issue #2546: Spring Plugin Maybe
cause memory leak in some case
IanCao opened a new issue #2546: Spring Plugin Maybe cause memory leak in some case
URL: https://github.com/apache/skywalking/issues/2546
Please answer these questions before submitting your issue.
- Why do you submit this issue?
Bug
Spring Plugin Maybe cause memory leak in some case
![image](https://user-images.githubusercontent.com/32847163/56849922-b1445100-692d-11e9-9aa6-df91394dd925.png)
this is the key code.
the case is one @RequestMapping method(methodA) call other @RequestMapping method(methodB).
beforeMethodA--> methodA -> beforeMethodB -> methodB -> afterMethodB - >afterMethodA
beforeMethodA, a entry is creatted.
beforeMethodB, entry size++;
afterMethodB, entry size--(entry still in stack) & RESPONSE_KEY_IN_RUNTIME_CONTEXT removed.
afterMethodA, since RESPONSE_KEY_IN_RUNTIME_CONTEXT is null,return
all process has finished,but stack in thread is not empty.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services