Topic

JDK

Collection size
104 articles
Page 5 of 6
JD Retail Technology
JD Retail Technology
Apr 22, 2021 · Backend Development

Investigation of Sudden Performance Degradation in JD.com Calendar Service: Spring MimeTypeUtils LRU Cache Bug and JDK ConcurrentLinkedQueue Issue

The article details a systematic investigation of a sudden performance drop in JD.com's calendar SOA service, revealing a Spring MimeTypeUtils LRU‑cache bug and a ConcurrentLinkedQueue removal bug in the JDK, and explains how upgrading Spring and applying JDK fixes restored service stability.

ConcurrencyJDKdebugging
0 likes · 14 min read
Investigation of Sudden Performance Degradation in JD.com Calendar Service: Spring MimeTypeUtils LRU Cache Bug and JDK ConcurrentLinkedQueue Issue
Sohu Tech Products
Sohu Tech Products
Mar 16, 2022 · Backend Development

Enabling Spring @Async to Support Placeholders and SpEL Expressions

This article explains how to modify Spring's @Async annotation so that its value attribute can resolve placeholders or SpEL expressions, demonstrates a working demo, shows the required code changes using EmbeddedValueResolver, and shares debugging tricks and related Java language features.

JDKOpenSourceasync
0 likes · 14 min read
Enabling Spring @Async to Support Placeholders and SpEL Expressions
JD Tech
JD Tech
Mar 15, 2019 · Information Security

Arbitrary URL Redirect Vulnerability and Pitfalls of Java URL.getHost()

The article analyzes an arbitrary URL redirect flaw caused by unchecked returnUrl parameters, demonstrates how Java's URL.getHost() can be misused through backslash and hash bypasses, and provides a robust validation code snippet that works across JDK versions.

JDKSecurityURL redirect
0 likes · 5 min read
Arbitrary URL Redirect Vulnerability and Pitfalls of Java URL.getHost()
Wukong Talks Architecture
Wukong Talks Architecture
Oct 28, 2021 · Backend Development

Common Java Interview Questions and Answers

This article compiles a comprehensive list of frequently asked Java interview questions, covering topics such as the relationship between JDK/JRE/JVM, object creation methods, differences between == and equals, hashCode, String variants, synchronization mechanisms, lock implementations, collections, concurrency utilities, thread pools, and I/O models, providing concise explanations for each.

CollectionsConcurrencyJDK
0 likes · 14 min read
Common Java Interview Questions and Answers
Wukong Talks Architecture
Wukong Talks Architecture
Sep 3, 2021 · Fundamentals

Understanding the Java Platform: JVM, JRE, JDK, Core Language Features and Common Java Concepts

This article provides a comprehensive overview of Java fundamentals, covering the relationship between JVM, JRE and JDK, the execution model, bytecode advantages, Java 8 language enhancements, core OOP principles, exception handling, reference types, and practical code examples for developers.

ExceptionJDKJVM
0 likes · 36 min read
Understanding the Java Platform: JVM, JRE, JDK, Core Language Features and Common Java Concepts
Big Data Technology Architecture
Big Data Technology Architecture
Jul 20, 2019 · Big Data

Resolving JDK Version Mismatch in Spark Streaming Jobs with Elasticsearch on YARN

This guide explains how a Spark Streaming job failed due to an incorrect JDK version, demonstrates how to identify the mismatch from ApplicationMaster logs, and provides the correct Spark‑submit configuration to set JAVA_HOME for both driver and executor so the job runs successfully.

ElasticsearchJDKSpark
0 likes · 6 min read
Resolving JDK Version Mismatch in Spark Streaming Jobs with Elasticsearch on YARN
Architecture Digest
Architecture Digest
Nov 18, 2020 · Backend Development

Deep Dive into Java ConcurrentHashMap: Implementation, Concurrency Mechanisms, and Core Methods

This article provides a comprehensive analysis of Java's ConcurrentHashMap, covering its historical evolution, key internal fields, the thread‑safe put and remove operations, the complex resizing and transfer mechanisms, and auxiliary methods such as size, get, and clear, all illustrated with original source code.

ConcurrencyConcurrentHashMapJDK
0 likes · 24 min read
Deep Dive into Java ConcurrentHashMap: Implementation, Concurrency Mechanisms, and Core Methods
Code Ape Tech Column
Code Ape Tech Column
Mar 7, 2022 · Operations

Using JDK Built‑in Tools to Monitor and Diagnose the JVM

This article demonstrates how to use the JDK’s native command‑line and graphical utilities—such as jps, jinfo, jvisualvm, jconsole, jstat, jstack and jcmd—to observe JVM metrics, troubleshoot memory and thread issues, and verify JVM parameters in Java applications.

JDKJVMjava
0 likes · 15 min read
Using JDK Built‑in Tools to Monitor and Diagnose the JVM
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 28, 2021 · Fundamentals

Key Features of Major Java Versions (Java 1.1 to Java 13)

An overview of the release dates and notable new features for each major Java version from 1.1 through 13, highlighting language enhancements, library updates, garbage collection improvements, and platform changes to help developers choose the appropriate JDK for their projects.

JDKProgramming LanguageVersion Features
0 likes · 10 min read
Key Features of Major Java Versions (Java 1.1 to Java 13)
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 3, 2021 · Fundamentals

Comprehensive Guide to Java String: Basics, Usage, Source‑Code Analysis, and Interview Questions

This article provides an in‑depth tutorial on Java's String class, covering primitive data types, official documentation, common usage examples, detailed source‑code walkthrough of constructors and key methods, as well as typical interview questions and performance considerations for backend development.

JDKProgrammingString()
0 likes · 32 min read
Comprehensive Guide to Java String: Basics, Usage, Source‑Code Analysis, and Interview Questions
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Oct 8, 2020 · Fundamentals

Understanding the JDK Stack Implementation and Its Practical Applications

This article explains the meaning of "stack" in Java, examines the JDK's Stack class implementation—including its inheritance from Vector and core methods—provides full source code, demonstrates array manipulation with System.arraycopy, and explores common stack applications such as browser navigation, function call stacks, and complexity analysis.

AlgorithmData StructureJDK
0 likes · 8 min read
Understanding the JDK Stack Implementation and Its Practical Applications
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 22, 2020 · Fundamentals

Understanding Java Dynamic Proxies: JDK and CGLIB Implementations

This article explains the concepts, implementation mechanisms, performance considerations, and practical code examples of Java static and dynamic proxies, covering both JDK's proxy based on interfaces and CGLIB's subclass‑based proxy, and compares their suitable use cases.

CGLIBDesign PatternDynamic Proxy
0 likes · 15 min read
Understanding Java Dynamic Proxies: JDK and CGLIB Implementations
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 26, 2020 · Backend Development

Common JDK Commands for Java Developers

This article introduces essential JDK command‑line tools such as jps, jinfo, jstat, jmap, jhat and jstack, explaining their options, usage examples, and how they help developers monitor, diagnose and troubleshoot Java applications in production environments.

JDKbackendcommand line
0 likes · 7 min read
Common JDK Commands for Java Developers
Architect's Tech Stack
Architect's Tech Stack
Sep 16, 2021 · Fundamentals

Understanding Java HashMap and ConcurrentHashMap: Structure, Operations, and Performance

This article explains the internal data structures, hashing mechanisms, resizing behavior, and concurrency strategies of Java's HashMap and ConcurrentHashMap, covering their evolution from JDK 1.7 to 1.8, the use of linked lists, red‑black trees, and lock implementations.

ConcurrencyConcurrentHashMapHashMap
0 likes · 14 min read
Understanding Java HashMap and ConcurrentHashMap: Structure, Operations, and Performance
Architect's Tech Stack
Architect's Tech Stack
Mar 13, 2021 · Backend Development

Debunking Common Arguments Against Using Lombok in Java Projects

The article systematically refutes typical criticisms of Lombok—such as JDK compatibility, forced adoption, reduced readability, increased coupling, and technical debt—by arguing that these concerns are overstated and that Lombok remains a valuable tool for Java backend development.

JDKLombokbackend
0 likes · 6 min read
Debunking Common Arguments Against Using Lombok in Java Projects
Selected Java Interview Questions
Selected Java Interview Questions
Oct 14, 2021 · Backend Development

Understanding Java Proxy Mechanisms and Spring AOP: Static, Dynamic, and AspectJ

This tutorial explains Java's proxy design pattern, bytecode manipulation, static proxies using AspectJ and JDK, dynamic proxies with JDK and CGLIB, and demonstrates how Spring AOP selects between these mechanisms, providing complete code examples for each approach.

AspectJCGLIBJDK
0 likes · 24 min read
Understanding Java Proxy Mechanisms and Spring AOP: Static, Dynamic, and AspectJ
Selected Java Interview Questions
Selected Java Interview Questions
Oct 26, 2020 · Backend Development

Understanding How ThreadPoolExecutor Recycles Worker Threads in JDK 1.8

This article analyzes the internal workflow of Java's ThreadPoolExecutor, focusing on how worker threads are reclaimed under both normal RUNNING conditions and after shutdown, detailing the runWorker loop, getTask() null returns, and the role of CAS and interrupt handling.

ConcurrencyJDKThreadPool
0 likes · 14 min read
Understanding How ThreadPoolExecutor Recycles Worker Threads in JDK 1.8
Java Captain
Java Captain
Apr 30, 2019 · Backend Development

Essential Knowledge Roadmap for Java Developers After Five Years

After five years of Java development, this guide outlines the essential knowledge areas—including JDK source code, JVM internals, concurrency utilities, blocking queues, thread pools, and major frameworks such as Spring, MyBatis, Dubbo, and ElasticSearch—to help developers build a comprehensive expertise foundation.

Backend DevelopmentConcurrencyJDK
0 likes · 10 min read
Essential Knowledge Roadmap for Java Developers After Five Years
Java Captain
Java Captain
Dec 14, 2018 · Backend Development

Understanding Spring AOP: Proxy Patterns, Static and Dynamic Proxies with JDK and CGLIB

This article explains the core concepts of Spring AOP, the proxy design pattern, and provides detailed Java examples of static proxy, JDK dynamic proxy, and CGLIB dynamic proxy, helping readers answer common interview questions and understand how Spring chooses the appropriate proxy implementation.

CGLIBDynamic ProxyJDK
0 likes · 13 min read
Understanding Spring AOP: Proxy Patterns, Static and Dynamic Proxies with JDK and CGLIB
Java Captain
Java Captain
Feb 26, 2018 · Fundamentals

Java Dynamic Proxy Mechanism and Design Pattern Overview

This article explains the Proxy design pattern, details Java's dynamic proxy classes and interfaces from JDK 1.6 source, walks through the step‑by‑step creation process, presents a complete demo implementation, and analyzes the underlying Proxy class generation and InvocationHandler mechanisms.

Design PatternDynamic ProxyJDK
0 likes · 13 min read
Java Dynamic Proxy Mechanism and Design Pattern Overview