[Webkit-unassigned] [Bug 27051] Use fastMalloc when neither MMAP nor VIRTUALALLOC are enabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 9 20:13:10 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=27051


Maciej Stachowiak <mjs at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #32410|review?                     |
               Flag|                            |




--- Comment #1 from Maciej Stachowiak <mjs at apple.com>  2009-07-09 20:13:09 PDT ---
(From update of attachment 32410)
I'll have to check into whether this works - I don't remember whether there are
special alignment or lazy commit requirements.

But I also noticed that PLATFORM(SYMBIAN) uses fastMalloc in place of VM
allocation inside Collector.cpp. That's definitely bugus - the GC counts on the
guaranteed alignment provided by vm_map, VirtualAlloc and posix_memalign.
Failing to meet the alignment requirements will lead to random crashes. If
Symbian has no way to get aligned memory chunks, it needs to do a trick to fix
up the alignment, like the mmap() code path.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list