Commit graph

8 commits

Author SHA1 Message Date
win7-7
e79cfc5a77 Revert part 5 also. It does depends on part 4.
Revert part 5 also. It does depends on part 4.
2026-08-01 03:13:05 +01:00
win7-7
f109b02bc3 1325254 - optimize TimerThread data structures
1325254 P1 Make TimerThread::mTimers store RefPtr<nsTimerImpl> objects.

1325254 P2 Make TimerThread list store an entry struct and just drop nsTimerImpl ref on cancel.

1325254 P3 Sort TimerThread list as a binary heap.

1325254 P4 Dynamically allocate Entry structs stored in TimerThread::mTimers.

1325254 P5 Make nsITimer::Cancel() O(c).
2026-08-01 03:07:32 +01:00
win7-7
5499c5f9a3 1311425 - Make requestIdleCallback aware of timeouts.
Prepare for handling several sources of idleness.

Make idle callbacks aware of nsITimers.

Add pref for how far into the timer queue.

1311425 - Avoid expiration timers when scheduling idle runnables.

review comment fix to ensure low priority timers aren't taken into account when calling NS_GetTimerDeadlineHintOnCurrentThread.
2026-08-01 03:07:31 +01:00
wuggy
a5cf494890 Add support for compiling under MinGW + fix Windows compiling in general 2026-04-17 15:05:11 -07:00
Moonchild
bd80099e2c [xpcom] Timer cleanup, assertions and comments. 2022-03-22 23:22:59 +08:00
roytam1
eb0082ecaa backport Bug 1739421: Use kungFuDeathGrip when firing a timer r=bwc a=RyanVM 2021-12-14 23:10:14 +08:00
Moonchild
8c395520d9 Issue #1656 - Part 1: Nuke most vim config lines in the tree.
Since these are just interpreted comments, there's 0 impact on actual code.
This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are
a few others scattered around which will be removed manually in a second part.
2020-09-25 22:04:12 +08:00
Roy Tam
dcd9973243 import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00