Programmer DD
Programmer DD
May 8, 2022 · Backend Development

Mastering Java Hidden Classes: A Step-by-Step Guide with Code

This article explains Java hidden classes—runtime‑generated, reflection‑only classes—through a clear example that creates a simple class, encodes it, loads it as a hidden class, and invokes its method, demonstrating a powerful dynamic feature for frameworks.

Dynamic Class LoadingHidden ClassesJDK 15
0 likes · 5 min read
Mastering Java Hidden Classes: A Step-by-Step Guide with Code
ELab Team
ELab Team
Jan 13, 2022 · Fundamentals

Unlocking V8: How Fast and Slow Properties Boost JavaScript Performance

This article dives into V8's internal optimizations for object properties, covering fast and slow properties, in‑object storage, hidden classes, array holes, fast/slow arrays, and inline caches, and offers practical advice for writing high‑performance JavaScript code.

Hidden ClassesJavaScriptengine optimization
0 likes · 19 min read
Unlocking V8: How Fast and Slow Properties Boost JavaScript Performance
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Mar 22, 2021 · Frontend Development

Unlocking V8: Deep Dive into JavaScript Engine Mechanics and Interview Secrets

This article explores V8’s architecture—from its host integration and bytecode compilation to hidden classes, inline caches, and garbage collection—providing interview‑ready insights, performance optimization techniques, and practical code examples that illuminate how JavaScript executes efficiently in browsers and Node.js.

Hidden ClassesInterview preparationJavaScript Engine
0 likes · 17 min read
Unlocking V8: Deep Dive into JavaScript Engine Mechanics and Interview Secrets
Tencent Cloud Middleware
Tencent Cloud Middleware
Mar 20, 2020 · Fundamentals

Why the Second Call to a JavaScript Constructor Is Slower: Inside V8’s Inline Caches

An in‑depth analysis of V8’s Inline Cache mechanism shows how hidden classes, map transitions, type‑feedback vectors, and the IC state machine cause the second invocation of a JavaScript constructor to be slower than the first, while the third becomes faster, explaining performance variations in property accesses.

Hidden ClassesIC State MachineInline Cache
0 likes · 12 min read
Why the Second Call to a JavaScript Constructor Is Slower: Inside V8’s Inline Caches