Tagged articles
64 articles
Page 1 of 1
Architecture & Thinking
Architecture & Thinking
Mar 11, 2026 · Fundamentals

Unlocking the JVM: From Bytecode to Memory Model and Performance Tuning

This article explains how Java source files are compiled into bytecode, details the JVM's class loading lifecycle, describes the hierarchical class loader delegation model, and breaks down the runtime data areas—including stack, heap, and metaspace—while offering practical tuning tips to avoid common OOM issues.

Java Memory ModelOOMclass loading
0 likes · 13 min read
Unlocking the JVM: From Bytecode to Memory Model and Performance Tuning
java1234
java1234
Jan 27, 2026 · Backend Development

7 Proven Spring Boot Startup Hacks to Slash Over 70% of Boot Time

This article presents seven concrete Spring Boot startup optimization techniques—including lazy bean initialization, precise component scanning, JVM flag tuning, auto‑configuration pruning, class‑loading shortcuts, lazy database connections, and GraalVM native compilation—backed by real‑world benchmarks that reduce launch times by up to 71% across e‑commerce, micro‑service, logistics and payment services.

Database ConnectionSpring Bootauto-configuration
0 likes · 9 min read
7 Proven Spring Boot Startup Hacks to Slash Over 70% of Boot Time
Tech Freedom Circle
Tech Freedom Circle
Oct 11, 2025 · Fundamentals

JIT, Class Lifecycle Stages, and Bytecode Enhancement – Core Concepts for Java Interviews

This article provides a comprehensive technical guide covering Java bytecode structure, the seven-stage class lifecycle, JIT compilation, memory layout, garbage‑collection algorithms, execution engine details, and both static and dynamic bytecode enhancement techniques such as ASM, Javassist, and Java agents.

ASMGarbage CollectionInstrumentation
0 likes · 74 min read
JIT, Class Lifecycle Stages, and Bytecode Enhancement – Core Concepts for Java Interviews
Java Backend Technology
Java Backend Technology
Sep 15, 2025 · Backend Development

How to Dynamically Load External JARs into SpringBoot and Scan Them

This guide explains how to load external JAR files into the JVM, configure SpringBoot to recognize them, and choose among several class‑loading strategies—including expanding the classpath, using the loader.path parameter, or implementing a custom classloader—while providing Maven configuration examples and code snippets.

Custom ClassLoaderDynamic Configurationclass loading
0 likes · 9 min read
How to Dynamically Load External JARs into SpringBoot and Scan Them
Sohu Tech Products
Sohu Tech Products
Aug 28, 2025 · Backend Development

Unlocking Tomcat’s Secrets: Deep Dive into Architecture, Design Patterns, and Class Loading

This comprehensive guide explores Tomcat’s mature architecture, detailing its connector and container components, the underlying design patterns such as composite, observer, and template method, and the custom class‑loading mechanisms that enable modularity, hot‑reloading, and isolation for Java web applications.

Design PatternsTomcatWeb server
0 likes · 43 min read
Unlocking Tomcat’s Secrets: Deep Dive into Architecture, Design Patterns, and Class Loading
Architect's Must-Have
Architect's Must-Have
Jun 18, 2025 · Backend Development

How to Dynamically Load External JARs into Spring Boot at Runtime

This guide explains step‑by‑step how to load external JAR files into the JVM, configure Spring Boot to recognize them, and choose among four practical solutions—including classpath expansion, Spring Boot loader.path, custom class loaders, and JVM boot classpath tweaks—while highlighting their pros, cons, and required Maven settings.

Custom ClassLoaderJVMSpring Boot
0 likes · 10 min read
How to Dynamically Load External JARs into Spring Boot at Runtime
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.

JVMclass loadingfundamentals
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.

Garbage CollectionJVMRuntime Data Area
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
Jun 26, 2024 · Backend Development

JVM Class Loading Explained: From Loading to Initialization

This article provides a comprehensive, step‑by‑step explanation of the JVM class‑loading mechanism, covering the five phases—Loading, Verification, Preparation, Resolution, and Initialization—along with diagrams and detailed descriptions of each operation performed by the JVM.

JVMRuntimebackend-development
0 likes · 7 min read
JVM Class Loading Explained: From Loading to Initialization
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.

JITJVMRuntime Data Area
0 likes · 8 min read
Understanding JVM Architecture and Core Mechanisms
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jan 20, 2024 · Backend Development

Master Java’s Parent Delegation Model: How Class Loaders Work and Why It Matters

This article provides a detailed explanation of Java’s parent delegation model, covering its definition, visual diagrams, advantages and disadvantages, and a six-step loading process, helping readers understand how class loaders prioritize parent loaders to ensure security and avoid duplicate class loading.

BackendJVMParent Delegation
0 likes · 5 min read
Master Java’s Parent Delegation Model: How Class Loaders Work and Why It Matters
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.

Parent DelegationTomcatclass loading
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.

JVMMemory ManagementObject Creation
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.

JVMThreadPoolclass loading
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.

AndroidMultidexPlugin Framework
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.

JITJVMMemory Management
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.

NoSuchMethodErrorSpring Bootbackend-development
0 likes · 6 min read
Diagnosing NoSuchMethodError and NoSuchFieldError in Spring Boot Jar Packages
Programmer DD
Programmer DD
Jun 12, 2022 · Fundamentals

Mastering Java ClassLoaders: APIs, Hierarchy, and Common Pitfalls

This article explores Java’s ClassLoader mechanism, detailing its core API methods, hierarchical delegation model, and the nuances of class loading in Java EE environments, while providing practical code examples and troubleshooting tips for common errors such as NoClassDefFoundError, NoSuchMethodError, and ClassCastException.

Java EEclass loadingclassloader
0 likes · 17 min read
Mastering Java ClassLoaders: APIs, Hierarchy, and Common Pitfalls
Cognitive Technology Team
Cognitive Technology Team
Apr 4, 2022 · Backend Development

Resolving NoSuchMethodError Caused by Duplicate Classes with Different Method Signatures in Java Projects

When two JARs contain identically named classes and methods but differ in a method's return type, Java's class‑loading mechanism may load the wrong version, triggering a java.lang.NoSuchMethodError, which can be prevented by detecting duplicate classes with Maven Enforcer rules.

Duplicate ClassesMaven EnforcerNoSuchMethodError
0 likes · 4 min read
Resolving NoSuchMethodError Caused by Duplicate Classes with Different Method Signatures in Java Projects
政采云技术
政采云技术
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.

JVMMemory ModelRuntime Data Areas
0 likes · 17 min read
Understanding Java Class Loading Mechanism and Runtime Data Areas
Ops Development Stories
Ops Development Stories
Jan 14, 2022 · Fundamentals

When Does Java Load a Class? Exploring the 7 Stages, Parent Delegation, and Custom ClassLoaders

This article explains the complete Java class loading lifecycle—including loading, verification, preparation, resolution, initialization, usage, and unloading—details the seven scenarios that trigger active loading, illustrates the parent delegation model, and provides code examples for custom and Tomcat class loaders.

Custom ClassLoaderJVMParent Delegation
0 likes · 16 min read
When Does Java Load a Class? Exploring the 7 Stages, Parent Delegation, and Custom ClassLoaders
Java High-Performance Architecture
Java High-Performance Architecture
Dec 3, 2021 · Fundamentals

Unlocking JVM Secrets: Deep Dive into Memory, GC, Class Files, and Method Dispatch

This comprehensive guide explores the inner workings of the Java Virtual Machine, covering memory regions, garbage‑collection algorithms, class‑file structure, bytecode instructions, class loading mechanisms, and method dispatch strategies, providing clear explanations and code examples for developers seeking a deeper understanding of JVM fundamentals.

Garbage CollectionJVMMemory Management
0 likes · 41 min read
Unlocking JVM Secrets: Deep Dive into Memory, GC, Class Files, and Method Dispatch
Programmer DD
Programmer DD
Nov 19, 2021 · Fundamentals

Mastering JVM Memory and Garbage Collection: A Comprehensive Guide

This article provides an in-depth exploration of Java's JVM memory architecture, garbage collection algorithms, class file structure, class loading process, bytecode execution, and method dispatch mechanisms, offering practical code examples and visual diagrams to help developers understand and optimize JVM performance.

Garbage CollectionJVMMemory Management
0 likes · 44 min read
Mastering JVM Memory and Garbage Collection: A Comprehensive Guide
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.

JVMMemory Managementbytecode enhancement
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.

Garbage CollectionJVMMemory Management
0 likes · 51 min read
JVM Core Concepts: Memory Areas, Class Loading, Object Creation, and Garbage Collection
Su San Talks Tech
Su San Talks Tech
Aug 8, 2021 · Backend Development

Unlock Tomcat’s Secrets: A Deep Dive into Its Architecture, Design Patterns, and Class Loading

This comprehensive guide explores Tomcat’s mature architecture, explains its core components such as connectors, containers, endpoints, processors, adapters, and valves, demonstrates the request flow, reveals the custom class‑loading mechanism, and shows how to apply these design patterns to real‑world backend development.

BackendTomcatWeb server
0 likes · 42 min read
Unlock Tomcat’s Secrets: A Deep Dive into Its Architecture, Design Patterns, and Class Loading
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.

Class Compilationannotationsbytecode
0 likes · 22 min read
Understanding Java Class Compilation and Loading: Processes, Annotations, Syntax Sugar, and Class Loader Mechanisms
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.

AndroidMobile Developmentclass loading
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.

Objective‑CRuntimeclass loading
0 likes · 19 min read
Understanding the Objective‑C Class Loading Process in dyld and the objc Runtime
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 19, 2021 · Backend Development

Comprehensive Guide to Java JVM: Architecture, Class Loading, Garbage Collection, and Performance Tuning

This article provides an in‑depth overview of the Java Virtual Machine, covering JDK/JRE/JVM relationships, compilation process, class loading mechanisms, the parent‑delegation model, runtime memory areas, garbage collection algorithms and collectors, and practical JVM performance tuning tips for backend developers.

Garbage CollectionJVMclass loading
0 likes · 50 min read
Comprehensive Guide to Java JVM: Architecture, Class Loading, Garbage Collection, and Performance Tuning
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jan 19, 2021 · Backend Development

Understanding Java's Parent Delegation Model: Mechanism, Implementation, and How to Break It

This article explains Java's parent delegation class‑loading model, describes the four built‑in class loaders, details why delegation is needed, shows the loadClass implementation, and discusses how and why the mechanism can be overridden in frameworks such as JDBC, Tomcat, OSGi, and the Java 9 module system.

Custom ClassLoaderJVMParent Delegation
0 likes · 14 min read
Understanding Java's Parent Delegation Model: Mechanism, Implementation, and How to Break It
Java Interview Crash Guide
Java Interview Crash Guide
Jan 14, 2021 · Backend Development

Mastering JVM: Memory Areas, GC, and Class Loading Explained

This comprehensive guide walks through the Java Virtual Machine's runtime data areas, memory model, heap layout, garbage‑collection mechanisms, HotSpot internals, performance tuning flags, and class‑loading process, providing developers with the essential knowledge to optimize Java applications.

Garbage CollectionJVMJava Memory Model
0 likes · 29 min read
Mastering JVM: Memory Areas, GC, and Class Loading Explained
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Dec 31, 2020 · Fundamentals

Unlocking JVM Secrets: Memory Leaks, GC, Class Loading and Performance Tuning

This comprehensive guide explores Java's JVM internals, covering memory leaks, data type sizes, differences between Serial and Parallel GC, reference types, compressed OOPs, JVM bitness detection, heap limits, JRE/JDK/JVM/JIT distinctions, memory regions, garbage collection algorithms, class loading mechanisms, and practical tuning commands and tools, providing developers with deep insights into Java performance and memory management.

Garbage CollectionMemory Managementclass loading
0 likes · 63 min read
Unlocking JVM Secrets: Memory Leaks, GC, Class Loading and Performance Tuning
Code Ape Tech Column
Code Ape Tech Column
Dec 25, 2020 · Fundamentals

Inside the JVM: Unraveling Memory Areas, GC, and Class Loading

This article provides a comprehensive overview of the Java Virtual Machine, covering its runtime data areas, the Java Memory Model, heap organization, garbage‑collection algorithms, HotSpot implementation details, JVM tuning parameters, and the class‑loading mechanism.

Garbage CollectionJMMJVM
0 likes · 29 min read
Inside the JVM: Unraveling Memory Areas, GC, and Class Loading
Wukong Talks Architecture
Wukong Talks Architecture
Aug 7, 2020 · Fundamentals

JVM Interview Questions and Java Mind Map Resources

This article presents a comprehensive collection of JVM interview questions covering memory areas, garbage collection, class loading, and performance tuning, along with eleven detailed Java mind‑map images that visually summarize core concepts such as the JVM architecture, GC algorithms, and thread management.

Garbage CollectionJVMMemory Management
0 likes · 8 min read
JVM Interview Questions and Java Mind Map Resources
Top Architect
Top Architect
Jun 22, 2020 · Fundamentals

Understanding the Seven Stages of Java Class Loading and Initialization

This article explains the seven stages of Java class loading—Loading, Verification, Preparation, Resolution, Initialization, Using, and Unloading—detailing each step, the underlying mechanisms, code examples, and practical considerations such as class initialization triggers and the distinction between symbolic and direct references.

InitializationJVMbytecode
0 likes · 14 min read
Understanding the Seven Stages of Java Class Loading and Initialization
Selected Java Interview Questions
Selected Java Interview Questions
Jun 12, 2020 · Fundamentals

Deep Dive into Java ClassLoader, Class Loading Process, and the Parent‑Delegation Model

This article explains when and how Java classes are loaded, details the JVM's ClassLoader implementation—including the native defineClass1 method, InstanceKlass creation, SystemDictionary registration, and parallel loading locks—then demonstrates breaking the parent‑delegation model with a custom ClassLoader and discusses practical usage scenarios.

JVMMetaspaceParent Delegation
0 likes · 18 min read
Deep Dive into Java ClassLoader, Class Loading Process, and the Parent‑Delegation Model
Java Architect Essentials
Java Architect Essentials
Apr 17, 2020 · Fundamentals

Comprehensive Java JVM Interview Guide: Architecture, Memory, GC, Class Loading, and Optimization

This article provides an extensive overview of Java Virtual Machine fundamentals for interview preparation, covering JVM components, runtime data areas, heap vs. stack memory, garbage collection mechanisms, algorithms, collectors, memory allocation strategies, class loading processes, and tuning tools.

Garbage CollectionJVMMemory Management
0 likes · 31 min read
Comprehensive Java JVM Interview Guide: Architecture, Memory, GC, Class Loading, and Optimization
Java Captain
Java Captain
Mar 27, 2020 · Fundamentals

Comprehensive Overview of Java JVM Runtime Data Areas, Memory Model, Garbage Collection, and Class Loading

This article provides a detailed explanation of the Java Virtual Machine's runtime memory regions, the Java Memory Model, garbage collection mechanisms, heap layout, HotSpot VM internals, class loading process, and performance tuning parameters, offering a solid foundation for Java developers and architects.

Garbage CollectionJVMclass loading
0 likes · 29 min read
Comprehensive Overview of Java JVM Runtime Data Areas, Memory Model, Garbage Collection, and Class Loading
Senior Brother's Insights
Senior Brother's Insights
Nov 12, 2019 · Fundamentals

What Really Happens When Java Loads a Class and Creates an Object?

When Java executes a new expression, the JVM first ensures the class is loaded using the parent‑delegation model, then follows a five‑step loading and linking process before allocating heap memory, initializing fields, running static and instance code, and finally returning a reference to the new object.

InitializationJVMObject Creation
0 likes · 8 min read
What Really Happens When Java Loads a Class and Creates an Object?
Senior Brother's Insights
Senior Brother's Insights
Oct 27, 2019 · Fundamentals

Why Accessing a Superclass Static Field Skips Subclass Initialization – JVM Class Loading Explained

This article examines common Java interview questions about static field access, demonstrates how the JVM loads and initializes classes, explains why a subclass may not be initialized when referencing a superclass static variable, and details each phase of the JVM class‑loading lifecycle.

Bytecode VerificationInitializationJVM
0 likes · 13 min read
Why Accessing a Superclass Static Field Skips Subclass Initialization – JVM Class Loading Explained
Programmer DD
Programmer DD
Oct 9, 2019 · Fundamentals

Mastering JVM Class Loading: Key Concepts, Models, and Practical Tips

This article explains the JVM class loading mechanism, covering the loading and unloading process, lifecycle stages, the parent‑delegation model, timing of loading and unloading, practical debugging with -verbose:class, and the impact of custom class loaders on application behavior.

JVMbackend-developmentclass loading
0 likes · 9 min read
Mastering JVM Class Loading: Key Concepts, Models, and Practical Tips
vivo Internet Technology
vivo Internet Technology
Sep 11, 2019 · Backend Development

Parallel Stream Class Loading Failure Analysis in Tomcat Containers

The article explains how Java 8 parallel streams in Tomcat containers trigger class‑loading failures because ForkJoinWorkerThreads inherit a null context class loader after Tomcat 7.0.74 introduced SafeForkJoinWorkerThreadFactory, leading to deserialization errors and memory‑leak risks, and recommends avoiding dynamic class loading or using custom thread pools.

DubboForkJoinPoolHessian
0 likes · 8 min read
Parallel Stream Class Loading Failure Analysis in Tomcat Containers
Programmer DD
Programmer DD
Jun 20, 2019 · Backend Development

Why Spring Fails to Load Encrypted @Component Classes and How It Scans Bytecode

An encrypted Spring @Component class causes a startup failure because Spring reads class files as raw byte arrays using ASM before loading them, and the encrypted bytecode violates JVM specifications, leading to an ArrayIndexOutOfBoundsException; the article explains this scanning mechanism and the hidden cause.

ASMJVMTISpring Boot
0 likes · 10 min read
Why Spring Fails to Load Encrypted @Component Classes and How It Scans Bytecode
Architect's Tech Stack
Architect's Tech Stack
Jun 10, 2019 · Backend Development

Understanding Java Reflection and Class Loading Mechanisms

This article explains Java reflection fundamentals, including Class object usage, dynamic class loading, method and field introspection, generic type handling, and detailed class loader mechanisms, providing code examples and practical insights for backend developers.

Java APIReflectionclass loading
0 likes · 8 min read
Understanding Java Reflection and Class Loading Mechanisms
Sohu Tech Products
Sohu Tech Products
Aug 22, 2018 · Mobile Development

Deep Dive into the Objective‑C Runtime: Object Model, Class Structure, Dynamic Loading and Practical Uses

This article provides an in‑depth exploration of the Objective‑C runtime, covering the underlying object model, class and metaclass structures, the isa_t layout, how classes are loaded and initialized, dynamic loading mechanisms, and practical applications such as ORM and automatic NSCoding implementation.

Dynamic LoadingORMObjective‑C
0 likes · 22 min read
Deep Dive into the Objective‑C Runtime: Object Model, Class Structure, Dynamic Loading and Practical Uses
Java Captain
Java Captain
Jun 10, 2018 · Fundamentals

Detailed Explanation of Java Object Creation and Initialization Process

This article provides an in‑depth overview of how Java objects are created and initialized, covering class loading, the various ways to instantiate objects (new, reflection, clone, deserialization), the step‑by‑step memory allocation and field initialization sequence, and the order of static and instance initialization across inheritance hierarchies.

InitializationJVMObject Creation
0 likes · 16 min read
Detailed Explanation of Java Object Creation and Initialization Process
Java Captain
Java Captain
Jan 29, 2018 · Fundamentals

Understanding the Lifecycle of Java Classes in the JVM

This article explains the complete lifecycle of a Java class within the JVM, covering memory areas such as the method, heap, and stack regions, and detailing the five stages—loading, linking, initialization, usage, and unloading—along with code examples illustrating active and passive references.

InitializationJVMMemory Management
0 likes · 16 min read
Understanding the Lifecycle of Java Classes in the JVM
Java Captain
Java Captain
Dec 5, 2017 · Fundamentals

Understanding the Java Virtual Machine: Class Loading and Runtime Data Area

This article explains the JVM execution process, details the hierarchy and delegation model of class loaders, provides a custom ClassLoader implementation with example code, and describes the structure and function of the runtime data area including heap, method area, stacks, and program counter.

Custom ClassLoaderJVMMemory Management
0 likes · 11 min read
Understanding the Java Virtual Machine: Class Loading and Runtime Data Area
Java Captain
Java Captain
Nov 4, 2017 · Fundamentals

Understanding Java Class Loading, Verification, Preparation, and Initialization

This article explains the Java Virtual Machine's class loading lifecycle—including loading, verification, preparation, resolution, and initialization—illustrated with multiple code examples that show when static blocks and fields are executed and why certain classes may not be initialized.

InitializationJVMclass loading
0 likes · 13 min read
Understanding Java Class Loading, Verification, Preparation, and Initialization
Java Captain
Java Captain
Sep 5, 2017 · Fundamentals

Java Fundamentals: Streams, Exceptions, Annotations, Class Loading, Keywords, Multithreading, Thread Pools, and Memory Model

This article provides a comprehensive overview of core Java concepts, including the hierarchy of I/O streams, checked and unchecked exceptions, built‑in and custom annotations, the class‑loader delegation model, important language keywords, multithreading techniques, thread‑pool implementations, and the Java memory model.

ExceptionsStreamsannotations
0 likes · 17 min read
Java Fundamentals: Streams, Exceptions, Annotations, Class Loading, Keywords, Multithreading, Thread Pools, and Memory Model
Qunar Tech Salon
Qunar Tech Salon
Jun 9, 2015 · Fundamentals

Understanding Java Class Loading and the Delegation Model

This article explains how Java class loading works, describing the hierarchical delegation model, the three loading phases (loading, linking, initialization), common ClassLoader‑related exceptions, and practical tips for troubleshooting class‑loading issues.

Exceptionsclass loadingdelegation-model
0 likes · 8 min read
Understanding Java Class Loading and the Delegation Model