-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue 408 fix, Memory leak was generated from Event #524
base: master
Are you sure you want to change the base?
Commits on Sep 11, 2018
-
eventlet#408, fix for MemLeak on event exceptions
changes event.py: - self._result and self._exc should not be class's static attributes - self._exc should not store exception trace, instead if exception occurred True - self._exc do not need to store exception trace, the same exception is called with the schedule_call_global for self._waiters timers - no need to throw self._exc on wait, it is thrown on the switch changes greenthread.py: (adjustments) - use of super for init inherited class - main method, try send, except send_exception and raise, and finally _resolve_links Signed-off-by: Kashirin Alex <kashirin.alex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 315c277 - Browse repository at this point
Copy the full SHA 315c277View commit details
Commits on Sep 12, 2018
-
eventlet#408, Test for fix for MemLeak on event exceptions
added test_no_mem_leaks to event_test.py added tox.ini dependencies objgraph==3.4.0 Signed-off-by: Kashirin Alex <kashirin.alex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 53f00cb - Browse repository at this point
Copy the full SHA 53f00cbView commit details -
eventlet#408, fix for MemLeak on event exceptions
changes greenthread.py: (adjustments) - use of super for init inherited class Signed-off-by: Kashirin Alex <kashirin.alex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4e293eb - Browse repository at this point
Copy the full SHA 4e293ebView commit details -
eventlet#408, fix for MemLeak on event exceptions …
changes event.py: self._result and self._exc should not be class's static attributes (the Values were passing between the different Event instances) self._exc is set back to None on last waiter has it's results (references kept them self, causing GC not to collect, Event has _exc and _exc has trace frames object in touched) Signed-off-by: Kashirin Alex <kashirin.alex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 361210d - Browse repository at this point
Copy the full SHA 361210dView commit details -
Test for fix for MemLeak on event exceptions …
- added test_no_mem_leaks to event_test.py - added tox.ini dependencies objgraph==3.4.0 Signed-off-by: Kashirin Alex <kashirin.alex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 99350ca - Browse repository at this point
Copy the full SHA 99350caView commit details -
eventlet#408, fix for MemLeak on event exceptions
changes greenthread.py: (adjustments) - use of super for init inherited class - main method, _resolve_links finally Signed-off-by: Kashirin Alex <kashirin.alex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9dce8c2 - Browse repository at this point
Copy the full SHA 9dce8c2View commit details -
eventlet#408, fix for MemLeak on event exceptions
changes event.py: - self._result and self._exc should not be class's static attributes Signed-off-by: Kashirin Alex <kashirin.alex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 454a897 - Browse repository at this point
Copy the full SHA 454a897View commit details -
Merge branch 'issue-408' of https://github.com/kashirin-alex/eventlet …
…into 408-event-memleak Signed-off-by: Kashirin Alex <kashirin.alex@gmail.com> # Conflicts: # eventlet/event.py # eventlet/greenthread.py # tests/event_test.py
Configuration menu - View commit details
-
Copy full SHA for 0291f64 - Browse repository at this point
Copy the full SHA 0291f64View commit details -
eventlet#408, fix for MemLeak on event exceptions
changes event.py: - self._exc should not store exception trace, instead if exception occurred self._exc=True (references kept them self, causing GC not to collect, Event has _exc and _exc has trace frames object in touched) - self._exc do not need to store exception trace, the same exception is called with the schedule_call_global for self._waiters timers - a wait on a triggered event is returning _results (without throw) None is exception/timeout Signed-off-by: Kashirin Alex <kashirin.alex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3a59e79 - Browse repository at this point
Copy the full SHA 3a59e79View commit details -
eventlet#408, fix for MemLeak on event exceptions
changes event.py: - self._exc should not store exception trace, instead if exception occurred self._exc=True (references kept them self, causing GC not to collect, Event has _exc and _exc has trace frames object in touched) - self._exc do not need to store exception trace, the same exception is called with the schedule_call_global for self._waiters timers - a wait on a triggered event with sellf._exc will throw current (GreenletExit) Signed-off-by: Kashirin Alex <kashirin.alex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1b51236 - Browse repository at this point
Copy the full SHA 1b51236View commit details -
eventlet#408, fix for MemLeak on event exceptions
changes event.py: - self._exc should not store exception trace, instead if exception occurred self._exc=True (references kept them self, causing GC not to collect, Event has _exc and _exc has trace frames object in touched) Signed-off-by: Kashirin Alex <kashirin.alex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9888aa6 - Browse repository at this point
Copy the full SHA 9888aa6View commit details -
event_test, clear threads not del
Signed-off-by: Kashirin Alex <kashirin.alex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1d4cc2a - Browse repository at this point
Copy the full SHA 1d4cc2aView commit details -
event_test, version by sys.version_info.major and count obj refs prio…
…r test use Signed-off-by: Kashirin Alex <kashirin.alex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 98e07fd - Browse repository at this point
Copy the full SHA 98e07fdView commit details -
event_test, version by sys.version_info.major and count obj refs prio…
…r test use Signed-off-by: Kashirin Alex <kashirin.alex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e0c12b6 - Browse repository at this point
Copy the full SHA e0c12b6View commit details -
event_test, version by sys.version_info.major and count obj refs prio…
…r test use Signed-off-by: Kashirin Alex <kashirin.alex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a2c8e6d - Browse repository at this point
Copy the full SHA a2c8e6dView commit details -
event_test, version by sys.version_info.major and count obj refs prio…
…r test use Signed-off-by: Kashirin Alex <kashirin.alex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b985825 - Browse repository at this point
Copy the full SHA b985825View commit details -
event_test, some counting info with assert
Signed-off-by: Kashirin Alex <kashirin.alex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a55b2e9 - Browse repository at this point
Copy the full SHA a55b2e9View commit details -
event_test, some counting info with assert
Signed-off-by: Kashirin Alex <kashirin.alex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0ee4c90 - Browse repository at this point
Copy the full SHA 0ee4c90View commit details