Tagged articles
1029 articles
Page 10 of 11
21CTO
21CTO
Apr 28, 2019 · Fundamentals

How Does a Single Java Line Execute? From CPU to JVM Explained

This article walks through the complete journey of a single Java statement—from high‑level source code, through compilation to bytecode, JVM interpretation and JIT compilation, down to CPU instruction fetching, decoding, execution, caching, memory hierarchy, threading, interrupts, and the underlying Linux process model.

CPUJVMJava
0 likes · 34 min read
How Does a Single Java Line Execute? From CPU to JVM Explained
Architecture Digest
Architecture Digest
Apr 28, 2019 · Fundamentals

Understanding How a Single Java Statement Is Executed: From CPU Architecture to JVM Memory Model

This article explains the complete execution path of a single Java line—from the Von Neumann CPU components, instruction fetch‑decode‑execute pipeline, Java bytecode generation, JVM class loading and interpretation, memory layout and caching, to Linux process memory management, thread scheduling, synchronization mechanisms and timer implementation—providing a deep technical foundation for Java performance tuning.

CPUJVMJava
0 likes · 33 min read
Understanding How a Single Java Statement Is Executed: From CPU Architecture to JVM Memory Model
Programmer DD
Programmer DD
Apr 23, 2019 · Backend Development

What 20% of Java Knowledge Solves 80% of Your Problems?

This article outlines the essential 20% of Java concepts—including core language features, JVM internals, concurrency, frameworks, distributed systems, middleware, and server containers—that empower developers to handle 80% of everyday tasks and interview questions.

JVMJavaframeworks
0 likes · 3 min read
What 20% of Java Knowledge Solves 80% of Your Problems?
Qunar Tech Salon
Qunar Tech Salon
Apr 9, 2019 · Fundamentals

Understanding Java Object Memory Layout and the Oop‑Klass Model

This article explains the JVM Oop‑Klass model, details how Java objects are represented in heap memory, shows how to calculate their size using source code analysis, HSDB, Instrumentation, Unsafe, and third‑party tools, and provides practical examples and code snippets.

HSDBJVMJava
0 likes · 15 min read
Understanding Java Object Memory Layout and the Oop‑Klass Model
58 Tech
58 Tech
Mar 20, 2019 · Operations

JVM GC Tuning for Java Service Migration to a Private Cloud: A Multi‑Round Optimization Case Study

During the migration of a billion‑record Java service from physical servers to a private‑cloud Docker environment, a series of JVM GC tuning steps—including adaptive young generation sizing, larger young generation, reduced concurrent GC threads, and phantom‑reference cleanup—significantly reduced stop‑the‑world pauses and restored service performance.

GC tuningJVMJava
0 likes · 10 min read
JVM GC Tuning for Java Service Migration to a Private Cloud: A Multi‑Round Optimization Case Study
Architect's Tech Stack
Architect's Tech Stack
Mar 14, 2019 · Fundamentals

Comprehensive Java Interview Questions and Answers Overview

This article compiles a comprehensive set of Java interview questions covering core fundamentals, concurrency, thread management, locking mechanisms, database concepts, and JVM internals, providing concise prompts for candidates to prepare effectively for technical interviews.

JVMJavaconcurrency
0 likes · 6 min read
Comprehensive Java Interview Questions and Answers Overview
Java Captain
Java Captain
Mar 11, 2019 · Backend Development

Comprehensive Java Interview Question List (208 Questions)

This article presents a curated collection of over 200 Java interview questions covering fundamentals, collections, concurrency, reflection, web technologies, Spring ecosystem, databases, messaging, and JVM internals, aimed at developers preparing for junior to senior-level interviews and seeking to identify and fill knowledge gaps.

JVMJavainterview
0 likes · 12 min read
Comprehensive Java Interview Question List (208 Questions)
Meituan Technology Team
Meituan Technology Team
Feb 28, 2019 · Backend Development

Dynamic Java Tracing with Instrumentation, BTrace, and ASM

The article explains how Java developers can dynamically trace and modify program behavior at runtime using the Instrumentation API, ASM bytecode manipulation, and the safe, annotation‑driven BTrace tool, illustrating techniques such as class redefinition, method interception, and examples like JSP recompilation and Arthas diagnostics.

BTraceInstrumentationJVM
0 likes · 16 min read
Dynamic Java Tracing with Instrumentation, BTrace, and ASM
Java Captain
Java Captain
Feb 20, 2019 · Backend Development

Java Interview Preparation Roadmap: JVM, Algorithms, Concurrency, Databases, Frameworks, Distributed Systems, and Design Patterns

This article outlines a comprehensive Java interview study plan, covering JVM fundamentals, sorting algorithms and collections, multithreading, key storage technologies like Redis, MySQL, and Elasticsearch, Spring framework deep dive, Dubbo-based distributed architecture, and essential design patterns to master for backend development roles.

Backend DevelopmentDesign PatternsInterview Preparation
0 likes · 11 min read
Java Interview Preparation Roadmap: JVM, Algorithms, Concurrency, Databases, Frameworks, Distributed Systems, and Design Patterns
Big Data Technology & Architecture
Big Data Technology & Architecture
Feb 14, 2019 · Fundamentals

Understanding Java volatile: Memory Visibility, Lock Prefix, and Happens‑Before

This article explains the Java volatile keyword, covering its lightweight synchronization semantics, the underlying lock‑prefix implementation that forces cache line write‑backs, practical usage patterns such as state flags and double‑checked locking, and how volatile establishes a happens‑before relationship to guarantee memory visibility across threads.

Happens-beforeJVMJava
0 likes · 10 min read
Understanding Java volatile: Memory Visibility, Lock Prefix, and Happens‑Before
Programmer DD
Programmer DD
Feb 11, 2019 · Backend Development

Why Groovy Is Making a Comeback in the Top 20 Programming Languages

Groovy, a dynamic JVM language praised for its concise syntax and powerful features like closures, has re‑entered the TIOBE Top 20 thanks to its role in Jenkins and Gradle, offering Java developers a compelling boost to Spring Boot productivity.

Dynamic LanguageGradleGroovy
0 likes · 4 min read
Why Groovy Is Making a Comeback in the Top 20 Programming Languages
Architect's Tech Stack
Architect's Tech Stack
Jan 17, 2019 · Backend Development

Comprehensive Java Interview Questions and Topics

This article compiles an extensive list of Java interview questions covering fundamentals, concurrency, collections, JVM internals, I/O, design patterns, testing, and best practices, providing candidates with a comprehensive study guide for modern backend development roles.

BackendDesign PatternsJVM
0 likes · 12 min read
Comprehensive Java Interview Questions and Topics
Programmer DD
Programmer DD
Jan 7, 2019 · Backend Development

Why Did My Spring Boot Service Consume 7 GB? Uncovering Native Memory Leaks

This article walks through a real‑world investigation of excessive native memory usage in a Spring Boot application, detailing JVM settings, Linux‑level tracing, custom memory allocators, and the root cause in Spring Boot’s ZipInflaterInputStream, ultimately providing a fix and best‑practice recommendations.

JVMLinux tracingNative Memory
0 likes · 11 min read
Why Did My Spring Boot Service Consume 7 GB? Uncovering Native Memory Leaks
Meituan Technology Team
Meituan Technology Team
Jan 3, 2019 · Backend Development

Investigation of Excessive Native Memory Usage After Migrating to Spring Boot

After moving to Spring Boot, the application consumed up to 7 GB of native memory because Meituan’s MCC package scanner invoked Spring’s ZipInflaterInputStream, which allocated large off‑heap buffers during JAR decompression that were only freed by the JVM finalizer and retained by glibc’s 64 MB arenas; restricting the scan scope or upgrading to Spring Boot 2.0.5 eliminated the excess usage.

JVMNative MemoryPerformance debugging
0 likes · 13 min read
Investigation of Excessive Native Memory Usage After Migrating to Spring Boot
dbaplus Community
dbaplus Community
Jan 2, 2019 · Operations

How to Boost Banking System Performance: A Proven Testing & Optimization Playbook

This article presents a comprehensive methodology for performance testing and optimization of a new corporate banking system, covering evaluation metrics, monitoring tools, test environment setup, common bottlenecks, detailed troubleshooting steps, and real‑world case studies to achieve higher throughput, lower latency, and better scalability.

JVMPerformance TestingSystem optimization
0 likes · 24 min read
How to Boost Banking System Performance: A Proven Testing & Optimization Playbook
vivo Internet Technology
vivo Internet Technology
Dec 28, 2018 · Big Data

Running a 400+ Node Elasticsearch Cluster: Architecture, Scaling, and Performance Tuning

Meltwater’s media‑monitoring platform runs a custom Elasticsearch 1.7.6 cluster of over 400 nodes on AWS, handling 200 TB of primary data and 3 million daily documents while serving thousands of complex queries per minute, achieved through careful shard design, master‑node configuration, extensive performance tuning, and automated provisioning.

AWSCluster ManagementElasticsearch
0 likes · 13 min read
Running a 400+ Node Elasticsearch Cluster: Architecture, Scaling, and Performance Tuning
Java Backend Technology
Java Backend Technology
Dec 14, 2018 · Fundamentals

Why Does Your JVM Keep Objects Alive After Method Returns? A Memory & GC Deep Dive

This article investigates why objects allocated in a Java method are not immediately reclaimed after the method exits, demonstrating through experiments how JVM heap regions, especially the Eden space, influence garbage collection timing, and provides practical steps to control memory and CPU usage by deliberately allocating small and large objects.

Garbage CollectionJVMJava
0 likes · 8 min read
Why Does Your JVM Keep Objects Alive After Method Returns? A Memory & GC Deep Dive
JD Tech Talk
JD Tech Talk
Nov 7, 2018 · Backend Development

Diagnosing Full GC and Memory Leak Issues in a Java Backend Application

This article details a step‑by‑step investigation of frequent full GC events and high CPU usage in a Java backend service, covering memory analysis with SGM, heap dumps, identification of large Base64 image strings, static encryption utilities, and remediation actions such as heap size increase and custom encryption handling.

CPUDebuggingFull GC
0 likes · 7 min read
Diagnosing Full GC and Memory Leak Issues in a Java Backend Application
Beike Product & Technology
Beike Product & Technology
Oct 26, 2018 · Backend Development

Understanding JavaAgent: JVM Tool Interface, Implementation Principles, and Bytecode Manipulation Conflicts

This article explains the JavaAgent feature introduced after JDK 1.5, its reliance on JVMTI and JPLISAgent, how to write premain classes and class file transformers, the role of MANIFEST.MF, and analyzes conflicts between Javassist‑based and ByteBuddy‑based agents when they modify the same class.

ByteBuddyInstrumentationJVM
0 likes · 17 min read
Understanding JavaAgent: JVM Tool Interface, Implementation Principles, and Bytecode Manipulation Conflicts
Java Backend Technology
Java Backend Technology
Oct 24, 2018 · Backend Development

Why My Java App Hits 100% CPU: Live Infinite Loop Demo & Diagnosis

This article walks through setting up a Vagrant‑based experiment that injects an intentional infinite loop into a simple Spring MVC service, then demonstrates step‑by‑step how to identify the offending process using top, examine JVM heap with jstat, and trace the problematic thread with jstack to resolve a CPU‑100% issue.

CPUJVMJava
0 likes · 4 min read
Why My Java App Hits 100% CPU: Live Infinite Loop Demo & Diagnosis
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Aug 15, 2018 · Backend Development

Comprehensive Performance Optimization Guide: Web, Database, Caching, Asynchronous Processing, and JVM Tuning

This guide outlines a complete performance optimization strategy covering web front‑end tuning (reducing HTTP requests, compressing assets, avoiding redirects), database optimization (SQL, architecture, connection pools), caching solutions, asynchronous processing, and JVM tuning with monitoring tools to improve overall system efficiency.

Database TuningJVMWeb Development
0 likes · 9 min read
Comprehensive Performance Optimization Guide: Web, Database, Caching, Asynchronous Processing, and JVM Tuning
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Aug 11, 2018 · Fundamentals

Explore Java Core Concepts: JVM GC, Concurrency, and Collection Diagrams

This article presents a collection of visual diagrams that map key Java fundamentals, including a JVM garbage‑collection overview, Java concurrency structures, comprehensive collection maps, and detailed class diagrams for List, Map, and Set, offering developers clear reference graphics for understanding core Java APIs.

Class DiagramCollectionsJVM
0 likes · 1 min read
Explore Java Core Concepts: JVM GC, Concurrency, and Collection Diagrams
Architecture Digest
Architecture Digest
Aug 10, 2018 · Backend Development

Essential Skills for a Java Developer with Three Years of Experience

This article outlines the key Java knowledge areas—including syntax, collections, frameworks, databases, web concepts, data structures, JVM internals, design patterns, multithreading, and JDK source code—that a developer with three years of experience should master to excel in interviews and increase earning potential.

BackendCollectionsJVM
0 likes · 11 min read
Essential Skills for a Java Developer with Three Years of Experience
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 27, 2018 · Fundamentals

Understanding Method Invocation in Java Bytecode

The article explains how Java bytecode implements method invocation by extracting a calculation into a static method, detailing the use of the invokestatic instruction, operand stack handling, constant pool references, and subsequent bytecode operations such as i2d, Math.pow, dadd, Math.sqrt, and type conversions.

JVMJavaMethod Invocation
0 likes · 4 min read
Understanding Method Invocation in Java Bytecode
Java Captain
Java Captain
Jul 9, 2018 · Fundamentals

Fundamental Computer Concepts and Java JVM Memory Architecture

This article explains basic computer concepts such as storage units, registers, memory hierarchy, kernel and user space, CPU word length, and then details the Java Virtual Machine's runtime data areas, object creation process, and object reference mechanisms.

CPU architectureJVMJava
0 likes · 14 min read
Fundamental Computer Concepts and Java JVM Memory Architecture
Java Captain
Java Captain
Jul 8, 2018 · Fundamentals

Understanding Java: Its Ecosystem, Editions, JDK/JRE, OpenJDK, and the JVM

This article provides a comprehensive overview of Java, explaining its evolution from a simple programming language to a broad technology ecosystem that includes Java SE, EE, ME, the JDK and JRE, OpenJDK, the Java Community Process, and the role of the JVM in achieving write‑once‑run‑anywhere.

JDKJREJVM
0 likes · 11 min read
Understanding Java: Its Ecosystem, Editions, JDK/JRE, OpenJDK, and the JVM
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.

InitializationJVMJava
0 likes · 16 min read
Detailed Explanation of Java Object Creation and Initialization Process
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 3, 2018 · Operations

JVM Statistics Monitoring Tool (jstat) Command Usage Guide

This article explains the jstat command syntax, options, and detailed parameter descriptions for monitoring JVM class loading, memory usage, garbage collection, JIT compilation, and other runtime statistics, providing examples and visual tables to help developers analyze Java process performance.

JVMJavaPerformance Monitoring
0 likes · 7 min read
JVM Statistics Monitoring Tool (jstat) Command Usage Guide
Efficient Ops
Efficient Ops
May 21, 2018 · Operations

Mastering Service Performance: CPU, Memory, JVM & Linux Monitoring Guide

This comprehensive guide explains how to monitor and tune service performance by examining CPU load, system and JVM memory usage, buffer/cache concepts, key performance metrics such as response time, throughput, QPS, and provides essential Linux tools and commands for effective operations management.

JVMOperationsPerformance Monitoring
0 likes · 21 min read
Mastering Service Performance: CPU, Memory, JVM & Linux Monitoring Guide
Java Captain
Java Captain
May 16, 2018 · Fundamentals

Comprehensive Java Interview Guide: OOP, Concurrency, Collections, JVM, and More

This article provides a thorough overview of core Java concepts frequently asked in interviews, covering object‑oriented fundamentals, polymorphism, interfaces vs abstract classes, data types, memory management, concurrency mechanisms, collections, JVM internals, and best‑practice coding examples.

CollectionsJVMJava
0 likes · 47 min read
Comprehensive Java Interview Guide: OOP, Concurrency, Collections, JVM, and More
Qunar Tech Salon
Qunar Tech Salon
May 16, 2018 · Backend Development

Performance Analysis and Optimization of Synchronized Reflection Calls in a Java Backend Service

The article investigates a high‑traffic Java backend issue caused by synchronized reflection calls, analyzes thread‑blocking stack traces, demonstrates the problematic code, and presents a compile‑time PropertyDescriptor optimization that eliminates runtime locking, resulting in significant latency improvements and a deeper understanding of JVM lock mechanisms.

JVMReflectionconcurrency
0 likes · 14 min read
Performance Analysis and Optimization of Synchronized Reflection Calls in a Java Backend Service
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Apr 27, 2018 · Fundamentals

Mastering Java Core Concepts: ThreadLocal, JVM Memory, GC, Concurrency, and More

This article provides a comprehensive overview of essential Java fundamentals, covering ThreadLocal, the JVM memory model, garbage collection mechanisms, synchronization primitives like synchronized and ReentrantLock, volatile semantics, concurrency utilities, thread pools, class loading, and common data structures such as HashMap and ConcurrentHashMap.

JVMMemory ManagementThreadPool
0 likes · 31 min read
Mastering Java Core Concepts: ThreadLocal, JVM Memory, GC, Concurrency, and More
21CTO
21CTO
Mar 28, 2018 · Fundamentals

Unlocking Java Bytecode: How to Read, Decompile, and Rebuild Lost Source

This article explains why Java developers should understand bytecode, walks through JVM data types and stack architecture, demonstrates how to inspect compiled classes with javap, and shows practical examples of manual decompilation and reconstruction of source code using low‑level bytecode analysis.

JVMJavabytecode
0 likes · 14 min read
Unlocking Java Bytecode: How to Read, Decompile, and Rebuild Lost Source
Architect's Tech Stack
Architect's Tech Stack
Mar 21, 2018 · Fundamentals

Comprehensive Java Interview Questions and Topics Guide

This article compiles over 300 essential Java interview questions covering fundamentals, multithreading, design patterns, JVM internals, data structures, algorithms, databases, Spring, Netty, caching, distributed systems, Linux, and networking to help developers prepare for technical interviews and deepen their understanding of core backend concepts.

BackendDesign PatternsJVM
0 likes · 16 min read
Comprehensive Java Interview Questions and Topics Guide
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Mar 19, 2018 · Fundamentals

Master Java Interview Essentials: JVM, Collections, Concurrency, and System Fundamentals

This article provides concise explanations of core Java and system concepts—including JVM class loading, HashMap implementation, concurrency utilities, IPC mechanisms, garbage collection, sorting algorithms, networking protocols, Linux scheduling, deadlock conditions, hashing techniques, and database normalization—useful for technical interviews and foundational study.

Data StructuresHashMapJVM
0 likes · 25 min read
Master Java Interview Essentials: JVM, Collections, Concurrency, and System Fundamentals
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Mar 8, 2018 · Fundamentals

Understanding Java Reference Types and JVM Memory Management

This article explains Java's four reference types, the JVM's memory layout, object lifecycle states, common garbage‑collection algorithms, collector implementations, heap segmentation, class‑loading mechanics, and includes typical interview questions to help developers master memory management in Java.

Garbage CollectionHeapJVM
0 likes · 15 min read
Understanding Java Reference Types and JVM Memory Management
Java Architect Essentials
Java Architect Essentials
Mar 8, 2018 · Fundamentals

Understanding Java Garbage Collection: Young Generation, Old Generation, and Permanent Generation

This article explains Java's garbage collection mechanisms, detailing the roles and algorithms of the young generation (copying algorithm), old generation (mark‑sweep and mark‑compact), and permanent generation, along with object promotion criteria, efficiency comparisons, and memory utilization considerations.

AlgorithmsGarbage CollectionJVM
0 likes · 5 min read
Understanding Java Garbage Collection: Young Generation, Old Generation, and Permanent Generation
Java Captain
Java Captain
Feb 6, 2018 · Backend Development

Will JVM Garbage Collector Reclaim Long-Unused Singleton Objects?

This article investigates whether the JVM garbage collector can reclaim singleton instances that remain unused for extended periods, presenting a test program, analyzing GC logs, and explaining the GC root mechanism that keeps static singleton references alive, concluding that HotSpot 1.6 does not collect such objects.

Garbage CollectionHotSpotJVM
0 likes · 6 min read
Will JVM Garbage Collector Reclaim Long-Unused Singleton Objects?
Java Captain
Java Captain
Feb 4, 2018 · Fundamentals

Common Java Interview Questions and Core Language Concepts Explained

This article provides concise explanations of key Java concepts—including object‑oriented features, access modifiers, primitive types, autoboxing, memory areas, garbage collection, class loading, inner classes, cloning, and common interview code snippets—offering a comprehensive reference for Java developers and interview preparation.

JVMJavaMemory Management
0 likes · 42 min read
Common Java Interview Questions and Core Language Concepts Explained
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.

InitializationJVMJava
0 likes · 16 min read
Understanding the Lifecycle of Java Classes in the JVM
dbaplus Community
dbaplus Community
Jan 14, 2018 · Backend Development

Mastering Tomcat: Kernel Design, Clustering, and Performance Tuning

This article provides a comprehensive technical guide to Tomcat, covering its kernel implementation principles, server models, distributed clustering strategies, production deployment parameters, JVM tuning, request processing flow, servlet mechanisms, filter chains, Comet and WebSocket modes, as well as performance monitoring and optimization techniques.

BackendJVMJava
0 likes · 18 min read
Mastering Tomcat: Kernel Design, Clustering, and Performance Tuning
Java Captain
Java Captain
Jan 9, 2018 · Backend Development

Comprehensive List of Java Interview Questions and Programming Topics

This article compiles an extensive collection of Java interview questions covering core concepts, language features, data structures, concurrency, JVM internals, exception handling, I/O, design patterns, and practical coding exercises, providing a comprehensive study guide for developers preparing for technical interviews.

Data StructuresJVMprogramming
0 likes · 30 min read
Comprehensive List of Java Interview Questions and Programming Topics
21CTO
21CTO
Jan 5, 2018 · Backend Development

How to Ace Java Backend Interviews and Build a Successful Career

This article offers a comprehensive guide on preparing for senior Java backend interviews, covering key topics such as core language features, concurrency, JVM internals, I/O, project presentation, and a staged learning roadmap from beginner to advanced developer, while also suggesting extra credit areas and career‑advancing strategies.

BackendJVMcareer
0 likes · 30 min read
How to Ace Java Backend Interviews and Build a Successful Career
Java Captain
Java Captain
Jan 3, 2018 · Fundamentals

Overview of Java Garbage Collection and Memory Management

This article provides a comprehensive overview of Java's garbage collection mechanism, memory regions, object access methods, allocation strategies, GC algorithms, and the various collectors used in the HotSpot JVM, helping developers understand and optimize Java memory usage.

GC AlgorithmsGarbage CollectionJVM
0 likes · 22 min read
Overview of Java Garbage Collection and Memory Management
Beike Product & Technology
Beike Product & Technology
Dec 30, 2017 · Backend Development

Analysis and Solution of JVM Deadlock Problem

This article analyzes a JVM deadlock issue encountered in a Tomcat-based application, detailing the problem's cause, analysis using jstack, and the solution involving ClassLoader isolation and ParallelCapable registration.

JVMJavaTomcat
0 likes · 15 min read
Analysis and Solution of JVM Deadlock Problem
Meituan Technology Team
Meituan Technology Team
Dec 28, 2017 · Backend Development

Java Garbage Collection Optimization Strategies and Case Studies

When all other tuning options fail, this article guides Java developers through a systematic GC optimization process—covering essential concepts, a goal‑oriented workflow, and three real‑world case studies that illustrate adjusting generation sizes, employing CMS flags, and fixing PermGen to dramatically reduce pause times and latency.

Garbage CollectionJVMJava
0 likes · 21 min read
Java Garbage Collection Optimization Strategies and Case Studies
Java Captain
Java Captain
Dec 18, 2017 · Fundamentals

Understanding Java Constant Pool: Theory and Practice

This article explains the Java constant pool, distinguishing static and runtime pools, demonstrates string interning behavior with code examples, and shows how to inspect class files and memory settings to observe constant pool effects in the JVM.

Constant PoolJVMMemory Management
0 likes · 9 min read
Understanding Java Constant Pool: Theory and Practice
Java Captain
Java Captain
Dec 11, 2017 · Fundamentals

Comprehensive Java Interview Topics: Data Structures, Algorithms, JVM, Concurrency, Linux, Frameworks, Databases, Networking, Caching, and Design Patterns

This document compiles a wide range of Java interview questions covering data structures and algorithms, core Java concepts, JVM internals, multithreading, Linux usage, popular frameworks, database fundamentals, network protocols, caching systems, and common design patterns to help candidates prepare comprehensively.

AlgorithmsDesign PatternsJVM
0 likes · 12 min read
Comprehensive Java Interview Topics: Data Structures, Algorithms, JVM, Concurrency, Linux, Frameworks, Databases, Networking, Caching, and Design Patterns
Java Captain
Java Captain
Dec 8, 2017 · Fundamentals

Comprehensive Java Fundamentals and Interview Q&A

This article provides a thorough overview of core Java concepts—including object‑oriented features, polymorphism, interfaces, abstract classes, immutability, memory models, concurrency utilities, collections, JVM internals, and common interview questions—supplemented with code examples and clear explanations for developers preparing for technical interviews.

JVMOOP
0 likes · 49 min read
Comprehensive Java Fundamentals and Interview Q&A
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 24, 2017 · Fundamentals

Illustrated Guide to Core Java Concepts

This article presents a series of annotated diagrams from the Program Creek Java tutorial that visually explain fundamental Java topics such as string immutability, the difference between equals() and hashCode(), exception hierarchy, collection framework, synchronization, aliasing, heap vs. stack memory, and the JVM runtime data areas.

Core ConceptsExceptionsJVM
0 likes · 3 min read
Illustrated Guide to Core Java Concepts
Programmer DD
Programmer DD
Nov 23, 2017 · Fundamentals

What Is JIT Compilation in Java and How Does It Boost Performance?

Java’s JIT compilation transforms bytecode into optimized machine code at runtime, offering benefits like hardware-specific optimization and portability, and the article explains compilation types, JVM flags for tracing JIT activity, inlining, and other optimizations such as dead code elimination and loop transformations.

CompilationJITJVM
0 likes · 7 min read
What Is JIT Compilation in Java and How Does It Boost Performance?
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 Backend Technology
Java Backend Technology
Oct 22, 2017 · Backend Development

Why ThreadLocal Can Trigger OOM in Java Thread Pools and How to Prevent It

This article explains how misuse of ThreadLocal in Java thread pools can cause memory‑leak‑induced Out‑Of‑Memory errors, illustrates the problem with a reproducible example, analyzes the underlying ThreadLocalMap mechanics, and provides best‑practice guidelines such as invoking remove() to avoid leaks.

JVMmemory leakthread-pool
0 likes · 9 min read
Why ThreadLocal Can Trigger OOM in Java Thread Pools and How to Prevent It
21CTO
21CTO
Sep 22, 2017 · Backend Development

What’s New in Java 9? A Deep Dive into 150+ Features and Future Directions

This article reviews Java 9’s extensive new features—including the module system, jshell REPL, performance and security enhancements—explains their impact on development practices, and discusses the challenges and future directions for the Java platform.

JDKJVMJava 9
0 likes · 13 min read
What’s New in Java 9? A Deep Dive into 150+ Features and Future Directions
Architecture Digest
Architecture Digest
Sep 18, 2017 · Backend Development

Java Backend Engineer Learning Roadmap and Recommended Resources

This article presents a comprehensive Java backend engineer learning roadmap, outlining essential skills from version control and Maven to core Java, frameworks, system and JVM performance tuning, messaging middleware, OAuth, Redis, and data processing, accompanied by recommended books and online resources for each topic.

JVMJavaMessaging
0 likes · 13 min read
Java Backend Engineer Learning Roadmap and Recommended Resources
Meituan Technology Team
Meituan Technology Team
Aug 25, 2017 · Backend Development

Java and JVM Q&A: Performance, Tools, and Best Practices

This article compiles a Java club’s Q&A covering backend development essentials—from network bandwidth checks and static‑method hooking to JNI choices, OSGi modularity, plugin performance, CPU‑heavy thread analysis, ConcurrentHashMap improvements, micro‑service frameworks, cross‑data-center protocols, JVM GC mechanisms, inheritance alternatives, ThreadLocal pitfalls, career advice, cloning, generics erasure, JVM tuning, multithreading strategies, lock upgrades, monitoring tools, database failure handling, Spring Data JPA design, and distributed transaction practices.

JVMJavaProfiling
0 likes · 16 min read
Java and JVM Q&A: Performance, Tools, and Best Practices
Java Captain
Java Captain
Jul 23, 2017 · Backend Development

Recommended Books for Java Developers: JVM, Concurrency, Spring, Databases, and Architecture

This article presents a curated list of essential Java books covering JVM internals, HotSpot, concurrency, multithreading, effective coding practices, web technologies, large‑scale site architecture, middleware, distributed consistency, MySQL, and deep Spring source analysis, offering guidance for developers seeking to deepen their backend expertise.

Book RecommendationsJVMarchitecture
0 likes · 15 min read
Recommended Books for Java Developers: JVM, Concurrency, Spring, Databases, and Architecture
Java Captain
Java Captain
Jul 23, 2017 · Backend Development

A Comprehensive Roadmap for Learning Java Development and Advancing Your Career

This article provides a detailed, stage‑by‑stage learning roadmap for aspiring and working Java developers, covering fundamentals, web development, frameworks, advanced topics like JVM and concurrency, and career‑building strategies such as specialization, open‑source contributions, and personal branding.

Backend DevelopmentJVMLearning Resources
0 likes · 20 min read
A Comprehensive Roadmap for Learning Java Development and Advancing Your Career
Beike Product & Technology
Beike Product & Technology
Jul 9, 2017 · Fundamentals

Kotlin Introduction, Environment Setup, Syntax, and Java Interoperability

This article introduces Kotlin's fundamentals, explains how to configure development environments and Gradle builds, details core language syntax and features, demonstrates Kotlin‑Java interoperation, and showcases the Anko library for Android development, providing a comprehensive guide for engineers transitioning from Java to Kotlin.

Android DevelopmentIDE setupInteroperability
0 likes · 14 min read
Kotlin Introduction, Environment Setup, Syntax, and Java Interoperability
Dada Group Technology
Dada Group Technology
Jun 16, 2017 · Backend Development

Ensuring Safe JVM Shutdown with Shutdown Hooks and Signal Handling

To prevent loss of asynchronous tasks and data corruption during application restarts, this article explains how to safely shut down the JVM using shutdown hooks, custom signal handling, and proper hook implementation, while highlighting risks of forced termination and best‑practice considerations.

BackendJVMJava
0 likes · 12 min read
Ensuring Safe JVM Shutdown with Shutdown Hooks and Signal Handling
ZhiKe AI
ZhiKe AI
Mar 7, 2017 · Fundamentals

Understanding the JVM: Its Position in the JDK and Four Core Components

This article explains where the JVM resides within the JDK, describes its four main components—ClassLoader, Native Interface, Execution Engine, and Runtime Data Areas—and details memory management, garbage‑collection algorithms, collector types, diagnostic commands, and the Java class‑file structure.

Class FileClass LoaderGarbage Collection
0 likes · 21 min read
Understanding the JVM: Its Position in the JDK and Four Core Components
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Dec 5, 2016 · Backend Development

Why Generational Garbage Collection Boosts JVM Performance

This article explains the rationale behind generational garbage collection in the JVM, describes the Young, Old, and Permanent generations, details Scavenge and Full GC processes, and compares serial, parallel, and concurrent collectors to help developers choose the optimal GC strategy.

Garbage CollectionGenerational GCJVM
0 likes · 11 min read
Why Generational Garbage Collection Boosts JVM Performance
Architecture Digest
Architecture Digest
Dec 4, 2016 · Fundamentals

Understanding Asynchronous and Concurrent Programming Models on the JVM

The article explains why asynchronous programming improves resource utilization, compares synchronous and asynchronous styles, and reviews common JVM concurrency models—including threads, thread pools, futures, reactive extensions, async‑await, fibers, and actors—while discussing their trade‑offs and suitability for distributed systems.

ActorsAsynchronousFutures
0 likes · 16 min read
Understanding Asynchronous and Concurrent Programming Models on the JVM