[squeak-dev] SQUEAK_SPY and -spy option

stes@PANDORA.BE stes at telenet.be
Mon Aug 31 07:09:28 UTC 2020


-----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






-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJfTKHkAAoJEAwpOKXMq1MaHqoH/Ar6sReeDUhwcWDPWCyWupIc
07gQMUEcM2rUa3hZCysoGQGJGPH7ZXNEj8QViW4QIwrAnR0j6GGz9M648rOot9IF
9yH3TEFmPk4hCYq8UADyfxFRpEBs9dOKk3TVE0LLIo1KTWqyo+Fz4SYQQFWQnfZ2
5lXVwbDJlfFyBOvGaNCAzFgoftWSL1KhxEsGuhPKo1b2WO++T9rNVF4eSvlKltJR
5rr/bmuOC0ILYcDBe0+wsYg5O17DdSMPRSeKBgwqlnMS6xquxfS90VS7J1uH6wC3
Qe+fDeaDJxHZ05+aEL8aSAMhKiGfm5oBOc07gVxYO20otmWt9sTgaGhY1+3QEZo=
=RR59
-----END PGP SIGNATURE-----


More information about the Squeak-dev mailing list