I'm trying to set a timeout for scripts running in an Isolate using the 
Locker + Preemption + TerminateExecution, but there are some cases where it 
looks the script isn't being pre-empted and killed.  This script:
var s = "";
while (true) {
s += "hello";
}

gets killed properly, while this script never gets terminated:

while (true) {

  var a = new Array();

  a[0x3ffffffe] = 0;
}


I've added some logging and the body of loop gets run often, but the 
isolate never gets termination signal.  It looks like the thread is never 
getting pre-empted (I tried to lock this isolate in another thread and that 
thread never wakes up).

I grabbed the source for v8 early last week and the latest code seems to 
still have this problem.  Is this expected behavior?

Thanks,
Shyam

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to