Tagged articles
2 articles
Page 1 of 1
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 29, 2022 · Fundamentals

How to Achieve Zero‑Copy String Construction Across JDK Versions

This article explains the internal differences of Java's String implementation from JDK 8 to JDK 9+, demonstrates how to use sun.misc.Unsafe and trusted MethodHandles.Lookup to build zero‑copy String objects, and provides practical code examples for high‑performance string handling.

MethodHandlesStringZeroCopy
0 likes · 12 min read
How to Achieve Zero‑Copy String Construction Across JDK Versions
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 30, 2020 · Backend Development

Netty Architecture and Principles: An Introductory Tutorial

This tutorial provides a detailed introduction to Netty, covering its architecture, core concepts such as buffers, channels, selectors, reactor thread models, zero‑copy techniques, and includes practical TCP server/client code examples, helping readers understand and apply Netty for high‑performance Java network programming.

Java NIONettyReactor
0 likes · 42 min read
Netty Architecture and Principles: An Introductory Tutorial