Closed Bug 1666746 Opened 4 years ago Closed 4 years ago

Refactoring in PLDHashTable

Categories

(Core :: XPCOM, task)

task

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: pbone, Assigned: pbone)

References

Details

Attachments

(3 files)

I have some patches that refactor some things in PLDHashTable

Blocks: 1662345

Adding this method makes it clearer what code is doing when it checks that
the storage has been allocated.

Add labels to some console messages in this test so that the caller can be
identified easilly.

Depends on D89566

Hi Nicholas,

I wrote the first two patches earlier and Nathan accepted them, but phabricator won't let me update them with his name. I hope it's okay I changed the titles to have r=njn.

Thanks.

Flags: needinfo?(n.nethercote)

That's fine.

Flags: needinfo?(n.nethercote)
Pushed by pbone@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/22edc401b98b
pt 1. Add an IsAllocated method r=froydnj
https://hg.mozilla.org/integration/autoland/rev/4577271681e9
pt 2. Reuse SlotForIndex to avoid duplicate code r=froydnj
https://hg.mozilla.org/integration/autoland/rev/33d86022eaf4
pt 3. Improve some messages from TestPLDHash r=njn
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: