Also the GC may think int values of one app point to memory used by a different app.
How would the GC treat this any different than getting confused about object references and int values within a single app?
Scanning the heap wil the GC have any knowledge of one app vs the other? I don't think so, but as you say it would depend on the collector.