Get the App
SLTechnology News&Howtos  ›  Computer Software News  › 

V8 JavaScript engine 6.8 released with a number of new developer features

Shulou Source: shulou.com Published: 2022-05-31 10:36:21 11月25日 Update

­V8 JavaScript engine 6.8 has been released with many new features for developers, including: memory JavaScript functions unnecessarily retain external functions and their metadata (called SharedFunctionInfo or SFI), which can lead to pseudo-memory leaks. Prior to V8 6.8, the active context (active Context) kept the SFI of the function that created the context active:

­V8 6.8 breaks the dependency on SFI by letting Context point to ScopeInfo objects that contain the streamlined information needed for debugging. This has also led to a nearly 3% improvement in V8 memory footprint.

­at the same time, the memory consumption of SFI itself has been reduced, unnecessary fields have been deleted or compressed as much as possible, and their size has been reduced by about 25%, which will be further reduced in future versions.

­performance

Improvement of array deconstruction

­Object.assign improvement

­TypedArray.prototype.sort improvement

­WebAssembly

­V8 v6.8 supports the use of trap-based bounds checking on Linux x64 platforms. This memory management optimization greatly improves the execution speed of WebAssembly. It is already in use in Chrome 68 and will gradually support more platforms in the future.

­V8 API

­Please use git log branch-heads/6.7..branch-heads/6.8 include/v8.h to get the API change list.

­more details can be found at:

­https://v8project.blogspot.com/2018/06/v8-release-68.html

Tags: Memory functions up and down context platform more versions support activities developers engines features development while at the same time highlights information sizes fields objects as much as possible Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Microsoft Redmi OPPO Reno NVidia