Closed
Bug 1445035
Opened 7 years ago
Closed 1 year ago
Investigate baselineCompile() correctness by comparing it to CanEnterBaselineJIT
Categories
(Core :: JavaScript Engine, enhancement, P3)
Core
JavaScript Engine
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: jorendorff, Unassigned)
Details
CanEnterBaselineJIT() checks some things that look like hard requirements:
if (script->length() > BaselineScript::MAX_JSSCRIPT_LENGTH)
return Method_CantCompile;
if (script->nslots() > BaselineScript::MAX_JSSCRIPT_SLOTS)
return Method_CantCompile;
and some things that look like heuristics:
// Check script warm-up counter.
if (script->incWarmUpCounter() <= JitOptions.baselineWarmUpThreshold)
return Method_Skipped;
To try to get ahead of further fallout from the baselineCompile() testing function, I would like to know which is which and make sure the testing function is enforcing all of the hard requirements.
I'll write a patch with my guesses and let nbp correct me. :)
| Reporter | ||
Updated•7 years ago
|
Assignee: nobody → jorendorff
Priority: -- → P2
| Reporter | ||
Updated•7 years ago
|
Assignee: jorendorff → general
Priority: P2 → P3
Updated•3 years ago
|
Severity: normal → S3
Updated•1 year ago
|
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•