Javascript engine
Abstract
A JavaScript enhancement is provided that increases performance of the JavaScript by avoiding the use of locking mechanisms in multi-threaded sessions. To do so, an object is deemed owned by a thread exclusively until the script is ended or suspended. Because scripts are typically short and complete quickly, the overhead to start and end a request containing a script is much less than the overhead of locking each and every object access done by the script, on average.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 11.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer implemented method for avoiding using a locking mechanism when a thread having a context requests to use an object having a scope and having an owner of said scope, said method comprising: determining if said owner is the same as said context; if said owner is the same as said context, then avoiding using locking mechanism; if said owner is not the same as said context, then promoting a lock on said object's scope; initially setting said object's scope's owner to a current context of a current thread when said object's scope is created; resetting said object's sc
- Claim 2Independent Claim
A computer implemented method for locking an object h
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (11 of 11 total)
References Cited — Backward Prior Art (23)
Non-Patent Literature (5)
- A Design Pattern for Inter-Applet Communications; J. Cozad; WEB Techniques; Oct. 1998.
- A Dynamic Select Component for JavaScript; Dr. Dobb's Journal; Jan. 2000.
- A Web Solution to Concurrency Awareness in Shared Data Spaces; Jens Thmm, Stephen Wilke, and Lutz Wegner.
- ASEAM Developer's Manual; Andreas Bauer; The Australian National University; Apr. 17, 2000.
- Building Distributed Web Applications with Visual JavaScript; E. Vander Veer; WEB Techniques; Feb. 1998.