码迷,mamicode.com
首页 > Web开发 > 详细

JSContext

时间:2016-11-24 06:54:57      阅读:177      评论:0      收藏:0      [点我收藏+]

标签:eve   cat   cycle   virtual   nbsp   reference   long   sso   mac   

An instance of JSContext represents a JavaScript execution environment. All

 JavaScript execution takes place within a context.

 JSContext is also used to manage the life-cycle of objects within the

 JavaScript virtual machine. Every instance of JSValue is associated with a

 JSContext via a strong reference. The JSValue will keep the JSContext it

 references alive so long as the JSValue remains alive. When all of the JSValues

 that reference a particular JSContext have been deallocated the JSContext

 will be deallocated unless it has been previously retained.

JSContext

标签:eve   cat   cycle   virtual   nbsp   reference   long   sso   mac   

原文地址:http://www.cnblogs.com/feng9exe/p/6096068.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!