Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Computer Software News >

Share

Shulou(Shulou.com)05/31 Report--

­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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Computer Software News

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report