Is there any documentation available about the meanings of these constraints? (each and every field)
On Friday, August 8, 2014 8:04:12 PM UTC+3, Ben Noordhuis wrote: > > On Fri, Aug 8, 2014 at 5:47 PM, dan wu <[email protected] <javascript:>> > wrote: > > I have used v8_3.20,the SetResourceConstraints API takes only one > parameter > > as follow: > > > > SetResourceConstraints(ResourceConstraints* constraints) > > It's been a while but I think you need to enter the isolate first. In > other words: > > Isolate* isolate = Isolate::New(); > Isolate::Scope isolate_scope(isolate); > ResourceConstraints constraints; > // ... > SetResourceConstraints(&constraints); > > If that doesn't work, you should try upgrading to a newer version. > > By the way, [0] is an issue in 3.20. I don't know if it's fixed in > newer releases but it's definitely broken in 3.20. Something to be > aware of. > > [0] https://code.google.com/p/v8/issues/detail?id=1180 > -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" 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/d/optout.
