Open
Bug 1919241
Opened 11 months ago
Updated 11 months ago
WASI recursion limit functions probably shouldn't be marked MOZ_COLD
Categories
(Core :: JavaScript Engine, task, P2)
Core
JavaScript Engine
Tracking
()
NEW
People
(Reporter: jandem, Unassigned)
References
(Blocks 1 open bug)
Details
Julian was looking into behavior of lazy tiering on the WASI demo and some of these functions showed up as hot enough to be tiered up: CheckWasiRecursionLimit
, IncWasiRecursionDepth
, etc.
They're marked MOZ_COLD
and that's probably why LLVM isn't inlining them.
Reporter | ||
Comment 1•11 months ago
|
||
Was there a reason for marking these MOZ_COLD
in this change? IIUC these checks used to be always-inline.
Flags: needinfo?(arai.unmht)
Comment 2•11 months ago
|
||
I don't remember the reason, and it looks most likely a copy-paste artifact from ReportOverRecursed
below, or something along that line.
anyway, I don't see any reason the cannot be inlined, and the MOZ_COLD
annotation can be removed.
Flags: needinfo?(arai.unmht)
Updated•11 months ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•