Tag

Class Loading

0 views collected around this technical thread.

Cognitive Technology Team
Cognitive Technology Team
Mar 9, 2025 · Fundamentals

Understanding Java Class Loading: Uniqueness, Diversity, and Best Practices

This article explains the core principles of Java class loading, including the uniqueness of Class objects per ClassLoader, various loading sources such as dynamic generation, network, ZIP archives, and databases, the lifecycle stages, delegation model, isolation, and practical recommendations for safe and efficient deployment.

Class LoadingJVMJava
0 likes · 7 min read
Understanding Java Class Loading: Uniqueness, Diversity, and Best Practices
Lobster Programming
Lobster Programming
Dec 5, 2024 · Fundamentals

How Does Java’s JVM Load Classes and Execute Code? A Deep Dive

This article explains how Java classes are loaded into the JVM, details the class loader’s parent‑delegation mechanism, and walks through the execution flow of a sample program, covering stack frames, heap allocation, dynamic linking, method area, program counter, native method stack, and garbage collection.

Class LoadingGarbage CollectionJVM
0 likes · 9 min read
How Does Java’s JVM Load Classes and Execute Code? A Deep Dive
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Feb 6, 2024 · Fundamentals

Understanding Java's Parent Delegation Mechanism in JVM Class Loading

This article explains Java's parent delegation mechanism—a core part of the JVM class‑loading process—detailing its purpose, three main benefits (avoiding duplicate loading, ensuring security, improving efficiency), and the step‑by‑step loading workflow illustrated with diagrams.

Class LoadingJVMJava
0 likes · 6 min read
Understanding Java's Parent Delegation Mechanism in JVM Class Loading
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jan 22, 2024 · Fundamentals

Understanding JVM Architecture and Core Mechanisms

This article provides a comprehensive overview of the Java Virtual Machine, detailing its architecture, class loading process, runtime data areas, and execution engine, including interpreter and JIT compilation, to help readers grasp JVM fundamentals for Java development and interview preparation.

Class LoadingInterpreterJIT
0 likes · 8 min read
Understanding JVM Architecture and Core Mechanisms
Top Architect
Top Architect
Nov 23, 2023 · Backend Development

Understanding Java Class Loading Mechanism and Tomcat’s ClassLoader Design

This article explains the Java class loading mechanism, the parent‑delegation model, how it can be broken, and then details Tomcat’s custom classloader hierarchy—including CommonClassLoader, CatalinaClassLoader, SharedClassLoader, and WebappClassLoader—showing why Tomcat deviates from the standard delegation model.

Class LoadingJavaParent Delegation
0 likes · 15 min read
Understanding Java Class Loading Mechanism and Tomcat’s ClassLoader Design
Architect's Tech Stack
Architect's Tech Stack
Sep 16, 2023 · Fundamentals

Understanding Java Object Creation, JVM Memory, and Class Loading

This article explains how Java objects are created using the new operator, details the JVM memory model (stack and heap), describes the generation and loading of .class files by the ClassLoader, compares Class.newInstance() with new, and outlines the initialization steps and key concepts developers must master.

Class LoadingJVMJava
0 likes · 11 min read
Understanding Java Object Creation, JVM Memory, and Class Loading
JD Tech
JD Tech
Aug 1, 2023 · Fundamentals

JVM Initialization Deadlock Analysis and Resolution

This article investigates a production thread‑pool exhaustion issue caused by a JVM class‑initialization deadlock, explains the underlying class‑loading mechanics, presents detailed stack‑trace analysis, and offers a preventive solution with early bean initialization and a reproducible demo.

Class LoadingJVMJava
0 likes · 17 min read
JVM Initialization Deadlock Analysis and Resolution
ByteDance Terminal Technology
ByteDance Terminal Technology
Apr 7, 2023 · Mobile Development

Plugin Framework Overview and Performance Optimizations for Android Applications

This article examines the evolution stages of a plugin framework, analyzes performance bottlenecks such as Multidex, Dex2Oat, and class loading on Android devices, and presents detailed optimization strategies—including timing adjustments, forced compilation commands, and native class‑loader hook replacements—to improve app responsiveness and reduce ANR occurrences.

AndroidClass LoadingDex2oat
0 likes · 24 min read
Plugin Framework Overview and Performance Optimizations for Android Applications
37 Interactive Technology Team
37 Interactive Technology Team
Feb 20, 2023 · Fundamentals

Fundamentals of the JVM: HotSpot, JIT, Memory Areas, Garbage Collection, and Class Loading

The article explains how the HotSpot JVM executes Java by interpreting bytecode, using client or server JIT compilers to translate hot methods into native code, describes the five runtime memory areas, outlines major garbage‑collection algorithms and tuning options, and details the class‑loading process and hierarchical classloader model.

Class LoadingGarbage CollectionJIT
0 likes · 24 min read
Fundamentals of the JVM: HotSpot, JIT, Memory Areas, Garbage Collection, and Class Loading
Cognitive Technology Team
Cognitive Technology Team
Sep 3, 2022 · Backend Development

Diagnosing NoSuchMethodError and NoSuchFieldError in Spring Boot Jar Packages

This article explains why a Spring Boot application that runs fine in an IDE may throw NoSuchMethodError or NoSuchFieldError when packaged as an executable jar, and provides systematic steps—including JVM class‑loading flags, Maven enforcer rules, and class‑path inspection—to locate and resolve the root cause.

Class LoadingMavenNoSuchMethodError
0 likes · 6 min read
Diagnosing NoSuchMethodError and NoSuchFieldError in Spring Boot Jar Packages
Selected Java Interview Questions
Selected Java Interview Questions
Apr 30, 2022 · Backend Development

Understanding Java Object Creation, JVM Memory Layout, and Class Loading Process

This article explains how Java creates objects with the new operator, details the JVM's stack and heap memory model, describes class loading and the role of Class objects, and compares newInstance with new, providing code examples and visual diagrams for deeper comprehension.

Class LoadingJVMJava
0 likes · 14 min read
Understanding Java Object Creation, JVM Memory Layout, and Class Loading Process
政采云技术
政采云技术
Mar 15, 2022 · Fundamentals

Understanding Java Class Loading Mechanism and Runtime Data Areas

This article explains how the JVM loads and links class files, describes the five runtime data areas—including the Method Area, Heap, JVM Stacks, Program Counter, and Native Method Stack—and details the class‑loader hierarchy and the parent‑delegation model used during class loading.

BytecodeClass LoadingClassLoader
0 likes · 17 min read
Understanding Java Class Loading Mechanism and Runtime Data Areas
Java Captain
Java Captain
Jan 15, 2022 · Fundamentals

Deep Dive into JVM: Memory Areas, Class Loading, Object Creation, Garbage Collection and Tuning

This article provides a comprehensive overview of the Java Virtual Machine, covering its core responsibilities, runtime memory layout, class‑loading process, object allocation and layout, garbage‑collection theories and algorithms, common collectors, useful JVM tools, and tuning parameters.

Class LoadingGarbage CollectionJVM
0 likes · 52 min read
Deep Dive into JVM: Memory Areas, Class Loading, Object Creation, Garbage Collection and Tuning
Architect
Architect
Nov 10, 2021 · Fundamentals

Deep Dive into JVM: Class Loading, Memory Management, Debugging, Hot Deployment, and Performance Tuning

This comprehensive article explains the inner workings of the Java Virtual Machine, covering class file structure, class loaders, memory layout, garbage collection, execution engine, debugging via JPDA, hot deployment, hot swapping, and performance tuning techniques, providing practical code examples and configuration tips.

Bytecode EnhancementClass LoadingJVM
0 likes · 74 min read
Deep Dive into JVM: Class Loading, Memory Management, Debugging, Hot Deployment, and Performance Tuning
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Oct 13, 2021 · Fundamentals

JVM Core Concepts: Memory Areas, Class Loading, Object Creation, and Garbage Collection

This article provides a comprehensive overview of the Java Virtual Machine, explaining its main purpose, memory regions, class‑loading mechanism, object creation process, memory allocation strategies, object layout, reference handling, garbage‑collection theories, algorithms, and common JVM tuning commands.

Class LoadingGarbage CollectionJVM
0 likes · 51 min read
JVM Core Concepts: Memory Areas, Class Loading, Object Creation, and Garbage Collection
Yang Money Pot Technology Team
Yang Money Pot Technology Team
Jul 27, 2021 · Fundamentals

Understanding Java Class Compilation and Loading: Processes, Annotations, Syntax Sugar, and Class Loader Mechanisms

This article explains the complete Java class compilation and loading lifecycle, covering lexical, syntax, and semantic analysis, annotation processing, syntax‑sugar transformation, bytecode generation, class file structure, the five loading steps, class loader types, the parent‑delegation model, and practical use cases such as dependency conflict resolution, hot‑loading, and code encryption.

AnnotationsBytecodeClass Compilation
0 likes · 22 min read
Understanding Java Class Compilation and Loading: Processes, Annotations, Syntax Sugar, and Class Loader Mechanisms
New Oriental Technology
New Oriental Technology
Jul 1, 2021 · Fundamentals

Understanding Java Runtime, Compilation, and Class Loading Process

This article explains how Java source files are compiled into bytecode, how the JVM loads and links classes, and details the roles of lexical, syntax, and semantic analysis, as well as the classloader hierarchy and the parent‑delegation mechanism.

BytecodeClass LoadingCompilation
0 likes · 14 min read
Understanding Java Runtime, Compilation, and Class Loading Process
ByteDance Dali Intelligent Technology Team
ByteDance Dali Intelligent Technology Team
Jun 23, 2021 · Mobile Development

Optimizing Android Class Loading and Verification to Reduce Cold Start Latency

This article analyzes Android's class loading and verification process, identifies optimization opportunities to speed up cold starts, compares industry approaches, and presents a semi‑automated analysis tool along with practical solutions for handling verification failures in mobile apps.

AndroidClass LoadingCold Start
0 likes · 6 min read
Optimizing Android Class Loading and Verification to Reduce Cold Start Latency
JD Retail Technology
JD Retail Technology
Apr 19, 2021 · Fundamentals

Understanding the Objective‑C Class Loading Process in dyld and the objc Runtime

This article explains how an iOS/macOS application is launched, detailing the interaction between dyld and the Objective‑C runtime, the initialization steps performed by _objc_init, and the series of functions such as environ_init, static_init, map_images, read_images, and load_images that together realize classes, selectors, protocols and +load methods before main() is called.

Class LoadingObjective-CRuntime
0 likes · 19 min read
Understanding the Objective‑C Class Loading Process in dyld and the objc Runtime