Closed Bug 1849386 Opened 9 months ago Closed 9 months ago

Use consistent pointer hashing.

Categories

(Core :: XPCOM, task)

task

Tracking

()

RESOLVED FIXED
118 Branch
Tracking Status
firefox118 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

No description provided.
  • DefaultHasher<T*> used HashGeneric<size_t>
  • nsPtrHashKey<T> used HashGeneric<T*>
  • nsRefPtrHashKey<T> used NS_PTR_TO_UINT32 >> 2

Make sure to always use HashGeneric<T*> for these.

Remove unused / redundant hash keys.

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cb02992e016b
Use consistent pointer hashing. r=nika,xpcom-reviewers
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: