-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
I've already asked this question on vm-dev, with no replies so far.
Perhaps someone knows here on this list ...
I wonder whether anyone is using the SQUEAK_SPY environment variable, or knows what this is doing.
In the VM source code :
platforms/unix/vm-display-X11/sqUnixX11.c:int withSpy= 0; platforms/unix/vm-display-X11/sqUnixX11.c: if (getenv("SQUEAK_SPY")) withSpy= 1; platforms/unix/vm/sqUnixMain.c: int withSpy= 0; platforms/unix/vm/sqUnixMain.c: else if (!strcmp(argv[0], VMOPTION("spy"))) { withSpy = 1; return 1; }
Also I wonder why both .c files (sqUnixX11.c and sqUnixMain.c) both define the same global variable (they both define withSpy).
Maybe the VM -spy option is somehow related to spyOn: and MessageTally ??
http://wiki.squeak.org/squeak/4210
It's just a guess. I don't immediately see any documentation on this on wiki.squeak.org.
Perhaps -spy is related to Squeak Performance Tuning ?
Is anyone using -spy or SQUEAK_SPY ?
David Stes