Tagged articles
2 articles
Page 1 of 1
Tencent Cloud Developer
Tencent Cloud Developer
Sep 26, 2024 · Fundamentals

Understanding V8 Engine: Compiler Pipeline, Tagged Pointers, Inline Caches, and Performance Optimizations

The article explains V8’s compiler pipeline from parsing to TurboFan optimization, details tagged pointers, hidden‑class object models and inline caches, and offers practical performance tips such as keeping functions short, preserving monomorphic call sites, stabilizing property order, and avoiding deletes to maintain fast property access.

JITJavaScriptTagged Pointer
0 likes · 27 min read
Understanding V8 Engine: Compiler Pipeline, Tagged Pointers, Inline Caches, and Performance Optimizations
Alibaba Cloud Developer
Alibaba Cloud Developer
Aug 29, 2024 · Fundamentals

How Java’s String Concatenation Evolved: From '+' to Hidden Classes

This article traces the evolution of Java string concatenation from the simple '+' operator through JDK 8’s StringBuilder implementation, the JDK 9+ StringConcatFactory with invokedynamic, and Alibaba’s PR 20273 that introduces hidden‑class bytecode generation, highlighting performance gains and startup‑time improvements.

JDKMethodHandlesOpenJDK
0 likes · 17 min read
How Java’s String Concatenation Evolved: From '+' to Hidden Classes