Changeset 48623 in webkit for trunk/JavaScriptCore
- Timestamp:
- Sep 22, 2009, 3:30:55 AM (16 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r48609 r48623 1 2009-09-22 Joerg Bornemann <[email protected]> 2 3 Reviewed by Simon Hausmann. 4 5 Fix major memory leak in JavaScriptCore RegisterFile on Windows CE 6 7 https://bugs.webkit.org/show_bug.cgi?id=29367 8 9 On Widows CE we must decommit all committed pages before we release 10 them. See VirtualFree documentation. 11 Desktop Windows behaves much smoother in this situation. 12 13 * interpreter/RegisterFile.cpp: 14 (JSC::RegisterFile::~RegisterFile): 15 1 16 2009-09-21 Greg Bolsinga <[email protected]> 2 17 -
trunk/JavaScriptCore/interpreter/RegisterFile.cpp
r47959 r48623 37 37 munmap(m_buffer, ((m_max - m_start) + m_maxGlobals) * sizeof(Register)); 38 38 #elif HAVE(VIRTUALALLOC) 39 #if PLATFORM(WINCE) 40 VirtualFree(m_buffer, DWORD(m_commitEnd) - DWORD(m_buffer), MEM_DECOMMIT); 41 #endif 39 42 VirtualFree(m_buffer, 0, MEM_RELEASE); 40 43 #else
Note:
See TracChangeset
for help on using the changeset viewer.