Closed Bug 825165 Opened 13 years ago Closed 12 years ago

Javascript engine hardcodes page sizes

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 840242

People

(Reporter: glandium, Unassigned)

References

Details

Hardcoding page sizes is fine on mainstream architectures (x86/arm), but falls short for some others. While some architectures have a fixed non-4KB page size, which just allow to #if some different values for js::gc::PageSize and related consts, some architectures, like mips, support different page sizes, which value depends on the running kernel and cpu. For these, the JS engine would need to support a non constant PageSize.
Is there a proposed fix for this? This is keeping debian packages for xulrunner from being successfully built on architectures like mipsel and ia64.
(In reply to Daniel Kahn Gillmor from comment #1) > Is there a proposed fix for this? This is keeping debian packages for > xulrunner from being successfully built on architectures like mipsel and > ia64. Yes, I have a patch in Bug 840242 which worked a few months ago, but several more uses of the fixed page size have cropped up since them.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.