[Glass] Finding instances of old (removed) classes
Dale Henrichs via Glass
glass at lists.gemtalksystems.com
Fri Oct 9 17:14:38 PDT 2015
On 10/09/2015 04:45 PM, Paul DeBruicker via Glass wrote:
> I'm not sure. Exploring, I guess.
>
> I think I have some instances that are exhibiting old behavior. So I'm
> trying to clean up orphaned classes to see if that fixes the instances
> behavior problems.
>
> But it could also be a different bug I haven't found yet.
Okay then using the GsDeployer-style method, collect instances for each
of your orphaned classes ... those with empty instance lists have class
reference issues ... those with non-empty instance lists can be migrated
ala GsDeployer-style method...
If you've already cleaned the known spots up,m then those classes with
reference issues can be resolved by finding all reference paths ...
Mariano and I went through a similar dance several weeks ago, and I
published a gist with the tode shell script that collected info on some
"orphaned classes"[1] and I then produced an analysis based on using
the script[2] ... at the end of the analysis I used the `./bug
--references` to track down the reference to some of the orphaned
classes ...
Slightly different scenario, but the `--references`, `--instances`,
`--gc`, and `--reclaim` options might be interesting or useful in your
own little analysis script ...
Dale
[1] https://gist.github.com/dalehenrich/626a3d731fc52f037657
[2] https://gist.github.com/dalehenrich/d80ce234667e56a02682
More information about the Glass
mailing list