Closed Bug 1533750 Opened 5 years ago Closed 5 years ago

pack members of PermissionEntry better on 64-bit platforms

Categories

(Core :: Networking: Cookies, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

Details

Attachments

(1 file)

No description provided.

The current ordering leaves a hole after mExpireType due to the need
to align a 64-bit mExpireTime and another one after
mNonSessionExpireTime to pad out the structure. We can group members
by their type (and initialize them in that order to avoid compiler
warnings) to avoid the holes and save a little bit of space.

Pushed by nfroyd@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cc930a52098b
pack members of PermissionEntry better on 64-bit platforms; r=jdm
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: