Document how poison values are chosen and added
Categories
(Core :: JavaScript: GC, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: pbone, Assigned: pbone)
References
(Blocks 2 open bugs)
Details
Attachments
(4 files)
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
From discussion with the other GC folks and we remembered several places to find existing poison values.
Some poison values are hard coded values, others in jsutil,h, others in jemalloc, and at least one from emilio that mrgiggles knows about.
We should check for sentinal values also.
Assignee | ||
Comment 2•6 years ago
|
||
Hi Jeff,
You introduced the poisoning in the above code. I'm not familiar with this part of the interpreter, can you suggest a good name for the constant 0xCC here. I'm moving them all into jsutil.h.
Thanks.
Assignee | ||
Comment 3•6 years ago
|
||
Hi Steve,
I can't find the mrgiggles source code, I want to check that it's up-to-date his/its with all these poison values.
Thanks.
Comment 4•6 years ago
|
||
(In reply to Paul Bone [:pbone] from comment #3)
Hi Steve,
I can't find the mrgiggles source code, I want to check that it's up-to-date his/its with all these poison values.
It's in the first line of the help output, https://bitbucket.org/sfink/mrgiggles but specifically see https://bitbucket.org/sfink/mrgiggles/src/34a279f9dfdeda0d095839a348c2ed1b73b75128/plugins/knowledge/__init__.py#lines-321:368 (and yes, it's all ugly and hardcoded).
Updated•6 years ago
|
Assignee | ||
Comment 5•6 years ago
|
||
Not all the listed posion values were used in IsThingPoisoned
Assignee | ||
Comment 6•6 years ago
|
||
This is still WIP pending a needinfo from Waldo.
Depends on D33449
Assignee | ||
Comment 7•6 years ago
|
||
Depends on D33450
Assignee | ||
Comment 8•6 years ago
|
||
Depends on D33451
Updated•6 years ago
|
Assignee | ||
Updated•5 years ago
|
Comment 9•5 years ago
|
||
(In reply to Paul Bone [:pbone] from comment #2)
You introduced the poisoning in the above code. I'm not familiar with this part of the interpreter, can you suggest a good name for the constant 0xCC here. I'm moving them all into jsutil.h.
SCOPE_DATA_TRAILING_NAMES_POISON
? Maybe?
Updated•5 years ago
|
Comment 10•5 years ago
|
||
Comment 11•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/78097b6cb93b
https://hg.mozilla.org/mozilla-central/rev/3d4f4d3f7fd5
https://hg.mozilla.org/mozilla-central/rev/acb4e093d0d2
https://hg.mozilla.org/mozilla-central/rev/23a7da77e315
Description
•