Bug 115331 - [Windows] [MinGW] [REGRESSION] Latest/April JIT changes make very slow eval of JSON data
Summary: [Windows] [MinGW] [REGRESSION] Latest/April JIT changes make very slow eval o...
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows 7
: P2 Major
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-28 11:56 PDT by Mozhaev Grigory
Modified: 2013-04-28 12:01 PDT (History)
0 users

See Also:


Attachments
Test page makes webpage to freeze for some minutes. (810.14 KB, text/html)
2013-04-28 12:01 PDT, Mozhaev Grigory
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mozhaev Grigory 2013-04-28 11:56:32 PDT
Example html page (see test.html attachment) makes browser based on webkit unresponsive for some minutes.

It happened by calling 'eval' on 900kb JSON data. Stuck happen here in code:

Source/JavaScriptCore/interpreter/interpreter.cpp (1332 line)

JSValue Interpreter::execute(EvalExecutable* eval, CallFrame* callFrame, JSValue thisValue, JSScope* scope) {
....
#elif ENABLE(JIT)
   result = eval->generatedJITCode().execute(&m_stack, newCallFrame, &vm); // stucked here until json will be parsed
#endif // ENABLE(JIT)
...
}

The problem does not appear in Linux, but exists in Windows (compiled using Mingw 32).

Webkit before april this year does well with the same page (a couple of seconds to process), so this looks as REGRESSION.
Comment 1 Mozhaev Grigory 2013-04-28 12:01:11 PDT
Created attachment 199968 [details]
Test page makes webpage to freeze for some minutes.