Comment #1 on issue 2650 by [email protected]: x64.debug failure in
test-api/SetJitCodeEventHandler
http://code.google.com/p/v8/issues/detail?id=2650
For me the error happens in the CompileRun in the initialization loop,
which is itself inside an AlwaysAllocate scope.
// Generate new code objects sparsely distributed across several
// different fragmented code-space pages.
const int kIterations = 10;
for (int i = 0; i < kIterations; ++i) {
LocalContext env;
i::AlwaysAllocateScope always_allocate;
SimulateFullSpace(HEAP->code_space());
CompileRun(script);
// Keep a strong reference to the code object in the handle scope.
i::Handle<i::Code> bar_code(i::Handle<i::JSFunction>::cast(
v8::Utils::OpenHandle(*env->Global()->Get(v8_str("bar"))))->code());
i::Handle<i::Code> foo_code(i::Handle<i::JSFunction>::cast(
v8::Utils::OpenHandle(*env->Global()->Get(v8_str("foo"))))->code());
// Clear the compilation cache to get more wastage.
ISOLATE->compilation_cache()->Clear();
}
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.