Closed Bug 657780 Opened 13 years ago Closed 13 years ago

FrameLayerBuilder warning pldhash

Categories

(Core :: Graphics, defect)

defect
Not set
major

Tracking

()

RESOLVED FIXED
mozilla6

People

(Reporter: stechz, Assigned: roc)

References

Details

Attachments

(1 file, 1 obsolete file)

On Fennec with every mousemove I get the warning:
pldhash: for the table at address %p, the given entrySize of 84 definitely favors chaining over double hashign.

The key for a ThebesLayerItemsEntry is rather large at the size of 84 bytes. This seems like a pretty enormous key. Perhaps the key should be a pointer to this data?
FWIW, the spam here is severe enough that I'd consider backing out the patch that introduced this.
Severity: normal → major
Attached patch fix (obsolete) — Splinter Review
Assignee: nobody → roc
Attachment #533116 - Flags: review?(tnikkel)
Comment on attachment 533116 [details] [diff] [review]
fix

   /**
    * Save aMatrix as the transform that was in aLayer when we last painted.
    */
-  void SaveLastPaintTransform(ThebesLayer* aLayer, const gfx3DMatrix& aMatrix);
+  void SaveLastPaintOffset(ThebesLayer* aLayer);
   /**
    * Get the transform that was in aLayer when we last painted. It's either
    * the transform saved by SaveLastPaintTransform, or else the transform
    * that's currently in the layer.
    */
-  const gfx3DMatrix& GetLastPaintTransform(ThebesLayer* aLayer);
+  nsIntPoint GetLastPaintOffset(ThebesLayer* aLayer);

The comments need updating here.
Attachment #533116 - Flags: review?(tnikkel) → review+
Pushed:
http://hg.mozilla.org/mozilla-central/rev/a519b72356bf
Status: NEW → RESOLVED
Closed: 13 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Whiteboard: fixed-in-cedar
Target Milestone: --- → mozilla6
Blocks: fx-noise
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: