http://codereview.chromium.org/3973002/diff/1/3 File src/ia32/codegen-ia32.cc (right):
http://codereview.chromium.org/3973002/diff/1/3#newcode157 src/ia32/codegen-ia32.cc:157: jit_cookie_((FLAG_disable_jit_cookie) ? 0 : V8::Random()) { On 2010/10/21 14:16:01, Søren Gjesse wrote:
Is it required to have a new cookie generated for each code generator
created?
Maybe a global cookie will be sufficient to avoid calling V8::Random()
so many
times.
Premature optimization alert! Compared to the amount of work needed for one compilation unit, how many cycles does it add to calculate V8::Random()? http://codereview.chromium.org/3973002/show -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
