Note: There are a few cases of duplicates in user autocompletion which are being worked on.

pack nsXBLBinding more carefully for 64-bit

RESOLVED FIXED in mozilla15

Status

()

Core
XBL
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: froydnj, Assigned: froydnj)

Tracking

unspecified
mozilla15
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Created attachment 615828 [details] [diff] [review]
patch

nsXBLBinding is laid out like so:

  int mRefCnt;
  nsIContent *mBoundElement;
  nsClassHashtable* mInsertionPointTable;
  bool mIsStyleBinding;
  bool mMarkedForDeath;

which introduces padding after mRefCnt and at the end of the structure.  Moving the booleans up into the padding required after mRefCnt saves a word at the end of the structure.
Attachment #615828 - Flags: review?(bzbarsky)

Comment 1

5 years ago
Comment on attachment 615828 [details] [diff] [review]
patch

r=me
Attachment #615828 - Flags: review?(bzbarsky) → review+
http://hg.mozilla.org/projects/birch/rev/25ed7d0b8433
Assignee: nobody → nfroyd
Status: NEW → ASSIGNED
https://hg.mozilla.org/mozilla-central/rev/25ed7d0b8433
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
You need to log in before you can comment on or make changes to this bug.