Bug 272581 - Make p2 garbage collector provisional API
Summary: Make p2 garbage collector provisional API
Status: RESOLVED WONTFIX
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2009-04-16 17:08 EDT by John Arthorne CLA
Modified: 2020-02-20 04:45 EST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2009-04-16 17:08:38 EDT
We should make provisional API available for clients to access the p2 garbage collection and contribute mark set providers. Currently everything is internal. For example PDE is interested in using this to manage target platforms.

It looks like GarbageCollector, CoreGarbageCollector, MarkSet, and MarkSetProvider could be made provisional API.
Comment 1 John Arthorne CLA 2009-04-16 17:10:30 EDT
Likely not for 3.5 - we can make PDE a friend of the current package if necessary.
Comment 2 Darin Wright CLA 2009-04-17 11:20:55 EDT
It would be useful to be able to control which repos actually get "cleaned". For example, the target provisioner maintains its own bundle pool for all provisioned targets. When we GC a target (when deleted), it would be nice to not to have any effect on the SDK's bundle pool. If we could sweep across everything, but clean a restricted set of repos, this would be possible.
Comment 3 Eclipse Webmaster CLA 2019-09-06 15:35:53 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 4 Ed Merks CLA 2020-02-20 04:45:58 EST
At this point, API changes would merely be disruptive.  To do truly useful things with p2 one is generally forced to use internals. :-(