发明名称 Multi-threaded virtual machine processing on a web page
摘要 A system, method and a computer-readable medium for processing resources on a multithreaded browser. The browser includes a main thread and receives a resource. The browser initializes the main thread, the main thread includes an event loop and initializes a plurality of virtual machines, one virtual machine for each code segment within the resource. Each virtual machine includes a UI thread and is configured to share the main thread within the browser with the UI thread. Each UI thread is further configured to execute an event scheduled on the event loop on the virtual machine.
申请公布号 US8832690(B1) 申请公布日期 2014.09.09
申请号 US201113164933 申请日期 2011.06.21
申请人 Google Inc. 发明人 Li Peng;Menon Vijay
分类号 G06F9/455;G06F9/46;G06F15/173;G06F13/00 主分类号 G06F9/455
代理机构 Sterne, Kessler, Goldstein & Fox P.L.L.C. 代理人 Sterne, Kessler, Goldstein & Fox P.L.L.C.
主权项 1. A computer-implemented method for processing resources on a multi-threaded browser, comprising: receiving a resource on the multi-threaded browser, the multi-threaded browser including a main thread; initializing a plurality of virtual machines for processing a plurality of code segments within the resource that includes a webpage, each virtual machine including a user interface (UI) thread; scheduling, using the main thread, a plurality of events for processing the plurality of code segments of the resource in parallel; cooperatively mapping the main thread within the multi-threaded browser to the UI thread within the virtual machine, wherein the cooperatively mapping is event driven; and executing the plurality of events scheduled within the main thread on the virtual machine.
地址 Mountain View CA US