| Summary: | [api][dstore] cancelable threads not removed fast enough from Hashmap, resulting in OOM | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] Target Management | Reporter: | Onno Van den Troost <onno> | ||||||
| Component: | RSE | Assignee: | David McKnight <dmcknigh> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Martin Oberhuber <mober.at+eclipse> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | dmcknigh | ||||||
| Version: | 3.0.3 | Keywords: | api | ||||||
| Target Milestone: | 3.4 M6 | ||||||||
| Hardware: | Other | ||||||||
| OS: | other | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 369950, 369951 | ||||||||
| Attachments: |
|
||||||||
|
Description
Onno Van den Troost
Created attachment 210192 [details]
patch to automatically update cancellable threads after a download
To avoid API changes, I've used reflection to allow the UniversalDownloadHandler to access UniversalFileSystemMiner.updateCancellableThreads(). I've committed the change to the HEAD stream and opened bug 369950 and bug 369951 for backporting. Created attachment 210446 [details]
update to add api for HEAD stream change
For the HEAD stream change, I've changed private method UniversalFileSystemMiner.updateCancellableThreads() to be public so reflection isn't needed to make the call immediately after a download request completes. |