Tag

LinkedHashMap

0 views collected around this technical thread.

Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 4, 2021 · Backend Development

Analyzing a JVM Memory Leak Caused by a Custom LRU Cache Implementation

This article walks through a production JVM memory‑leak incident, detailing how a static LRU cache built on LinkedHashMap caused unreclaimed objects, the concurrency pitfalls of its design, and practical steps to diagnose and fix such leaks in Java backend systems.

JVMJava ConcurrencyLinkedHashMap
0 likes · 9 min read
Analyzing a JVM Memory Leak Caused by a Custom LRU Cache Implementation
Selected Java Interview Questions
Selected Java Interview Questions
Jun 2, 2021 · Fundamentals

Understanding Dart’s HashMap and LinkedHashMap: Implementation Details and Interview Questions

This article explains the internal implementation of Dart's HashMap and LinkedHashMap, compares them with Java's versions, provides common interview questions, and demonstrates creation, lookup, insertion, deletion, resizing, and iteration with code examples to help developers prepare for technical interviews.

DartData StructuresHashMap
0 likes · 22 min read
Understanding Dart’s HashMap and LinkedHashMap: Implementation Details and Interview Questions
Java Captain
Java Captain
Nov 23, 2019 · Fundamentals

Understanding LinkedHashMap Order and LRU Cache Implementation in Java

LinkedHashMap extends HashMap by maintaining a doubly linked list to preserve insertion or access order, allowing optional LRU cache behavior via the accessOrder flag, and its source code shows how entries are linked, reordered on get, and how to override removeEldestEntry for eviction.

AccessOrderDataStructureHashMap
0 likes · 8 min read
Understanding LinkedHashMap Order and LRU Cache Implementation in Java