Welcome to MikeDaDev's Blog – notes on Java, backend & system design.

Explore
MikeDaDev's Blog

All posts

I like to write about stuff I'm into. You'll find a mix of web dev articles, tech news and random thoughts from my life. Use the search below to filter by title.

biến, kiểu dữ liệu và toán tử trong java

Biến, kiểu dữ liệu và toán tử trong Java, giải thích cho người mới: từ hình ảnh "chiếc hộp dán nhãn", 8 kiểu nguyên thuỷ cộng String, các phép toán số học và logic, tới mấy cái bẫy hay gặp khi đi làm như chia số nguyên, so sánh chuỗi và sai số khi tính tiền.

in java / jvm

kiến trúc JVM

Đi một vòng bên trong HotSpot JVM cho dân làm phần mềm: file bytecode 0xCAFEBABE trông ra sao, ClassLoader uỷ quyền theo Parent Delegation Model thế nào, các vùng nhớ Runtime Data Areas (Stack Frame, Metaspace, Heap), và JIT biên dịch phân tầng (Tiered Compilation C1/C2).

controlled concurrency with semaphores

A practical look at backpressure and concurrency limits in Java: how java.util.concurrent.Semaphore works on top of AbstractQueuedSynchronizer (AQS), why Virtual Threads waiting on it unmount instead of pinning their carrier, how to size the limit with Little’s Law, and patterns that hold up in production.