forked from Ports/goldeneye-pc-port
cleanup: strip dead GE_D255 correlation probe from objFree
D255 was root-caused and fixed for real at M-140 (a 32-bit pointer
truncation in vtxstore_fix_refs, not a destroy-path race). This
objFree/getenv("GE_D255") trace was a correlation aid for the
now-superseded race hypothesis and never fires against the real fix;
HANDOFF already flagged it as strip-candidate scaffolding. The
vtxstore.c comment documenting the actual fix is untouched.
This commit is contained in:
1 parent
190141ff53
commit
a9f370bdac
1 file changed
-22
@@ -929,28 +929,6 @@ void objFree(ObjectRecord* obj, s32 freeprop, s32 canregen)
|
||||
{
|
||||
PropRecord *child;
|
||||
|
||||
#ifdef PORT
|
||||
/* TEMP D255 (M-140): correlate objFree calls against the vtxstore.c
|
||||
* D255 probe's "NULL model on active OBJ record" log by prop/obj
|
||||
* pointer identity. See vtxstore.c for the full note; remove both
|
||||
* together once the mechanism is understood. */
|
||||
{
|
||||
static int ge_d255 = -1;
|
||||
if (ge_d255 < 0) ge_d255 = getenv("GE_D255") != NULL;
|
||||
if (ge_d255) {
|
||||
static int d255fbudget = 64;
|
||||
if (d255fbudget > 0) {
|
||||
d255fbudget--;
|
||||
osSyncPrintf(
|
||||
"D255 objFree: obj=%p prop=%p obj->obj=%d obj->type=%d"
|
||||
" freeprop=%d canregen=%d model=%p\n",
|
||||
(void*)obj, (void*)obj->prop, (int)obj->obj, (int)obj->type,
|
||||
(int)freeprop, (int)canregen, (void*)obj->model);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if (obj->type == PROPDEF_AUTOGUN)
|
||||
{
|
||||
AutogunRecord* record = (AutogunRecord*)obj;
|
||||
|
||||
Reference in new issue
Block a user