Bug 49012

Summary: [Qt] Use custom memory allocator in QtTestBrowser on Symbian
Product: WebKit Reporter: Dinu Jacob <dinu.jacob>
Component: Tools / TestsAssignee: Dinu Jacob <dinu.jacob>
Status: RESOLVED INVALID    
Severity: Normal CC: ademar, kbalazs, s.mathur, suresh.voruganti
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: S60 Hardware   
OS: S60 3rd edition   
Bug Depends on:    
Bug Blocks: 44691, 47918    
Attachments:
Description Flags
Patch none

Description Dinu Jacob 2010-11-04 11:37:25 PDT
Use custom allocator to improve memory usage by QtTestBrowser in Symbian
Comment 1 Dinu Jacob 2010-11-05 12:43:10 PDT
This is needed to run JS benchmarks (for example, Dromaeo) on Symbian
Comment 2 Dinu Jacob 2010-11-05 12:43:35 PDT
Created attachment 73101 [details]
Patch
Comment 3 Balazs Kelemen 2010-11-06 06:13:31 PDT
Do we really need to push the allocator into the codebase?
Wouldn't it be better to just having the lib in the trunk?
Comment 4 Suresh Voruganti 2010-11-08 06:32:43 PST
Fix required for Qtwebkit 2.1 branch for increasing the stability.
Comment 5 Siddharth Mathur 2010-11-08 09:16:36 PST
(In reply to comment #2)
> Created an attachment (id=73101) [details]
> Patch

Please don't put the allocator source into Webkit.org trunk! 

Alternatives: 
- For public buildbots, use Qt 4.7 tip of branch (from Gitorious.org/qt) which already has fast allocator in official Qt-Symbian port (see QT-3967 or http://qt.gitorious.org/qt/qt/trees/4.7/src/corelib/arch/symbian) 
- For internal buildbots, use 4.7 from QtProd which also has allocator built in (QT-3967, wk44 onwards) 

I checked with the author of the above Qt integration, and he says that no qmake args are needed to turn on linking with the fast allocator. All you have to do it make sure Qt 4.7.2 or higher is in use and compile your application. So, it seems no Webkit.pro pro/.pri need new flags either. 

If you have privately verified that QTestBrowser is passing all endurance tests with the fast allocator, then that should be enough to "unblock" 2.1 release readiness.
Comment 6 Dinu Jacob 2010-11-08 09:21:57 PST
(In reply to comment #5)
> (In reply to comment #2)
> > Created an attachment (id=73101) [details] [details]
> > Patch
> 
> Please don't put the allocator source into Webkit.org trunk! 
> 
> Alternatives: 
> - For public buildbots, use Qt 4.7 tip of branch (from Gitorious.org/qt) which already has fast allocator in official Qt-Symbian port (see QT-3967 or http://qt.gitorious.org/qt/qt/trees/4.7/src/corelib/arch/symbian) 
> - For internal buildbots, use 4.7 from QtProd which also has allocator built in (QT-3967, wk44 onwards) 
> 
> I checked with the author of the above Qt integration, and he says that no qmake args are needed to turn on linking with the fast allocator. All you have to do it make sure Qt 4.7.2 or higher is in use and compile your application. So, it seems no Webkit.pro pro/.pri need new flags either. 
> 
> If you have privately verified that QTestBrowser is passing all endurance tests with the fast allocator, then that should be enough to "unblock" 2.1 release readiness.

Thanks Siddarth.  We didn't get this information when we asked around here and the suggestion was to add the code. I will remove the source code and do a build with the Qt that has the lib.
Comment 7 Siddharth Mathur 2010-11-08 09:58:24 PST
Out of scope for Webkit.org or QtWebkit. See Comment #5.
Comment 8 Ademar Reis 2010-11-09 06:49:37 PST
Since it's closed as INVALID, I'm removing the release block for qtwebkit-2.1 (bug 39121)