Status: New
Owner: ----
New issue 1812 by [email protected]: my code use version 3.3 is
right,but after 3.4,some object makeweak callback not be called
http://code.google.com/p/v8/issues/detail?id=1812
hello,every one.
i used v8 in my code.in the version before 3.4,my code running with v8 is
right.but after 3.4 some object's makeweak callback will not be called when
gc.
i check the js. when i create object in my js script and don't call obj's
method,everything is right.after i loop more times,and called one obj's
method for many times,the Probability that callback function not be called
will increase.my loop is in global template ,js code like this:
var stage_ARStage;
var scene0CarDriveTime = 0;
function Scene0_Timer1() //tick函数,控制小车开动
{
scene0CarDriveTime += 20;
if(scene0CarDriveTime > 10000)
{
scene0CarDriveTime = 0;
DXX.KillTimer(1);
return;
}
stage_ARStage.DriveCarInScene0(scene0CarDriveTime);
}
Scene0_Timer1 is be called by natice c++ code.it is a timer function ,will
becalled 500 times.when i not run the loop ,every thing is ok.
=================================================================
another issue is when i compiled v8 in windows,with vs2008.the
v8preparser.dll become a pdb file.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev