Tag

ByteBuffer

1 views collected around this technical thread.

Selected Java Interview Questions
Selected Java Interview Questions
Aug 8, 2021 · Backend Development

Understanding Java NIO Buffers: Creation, Core Properties, and Operations

This article explains Java NIO buffers, covering how to create them with allocate() and allocateDirect(), describing their four core properties (position, limit, capacity, mark), and detailing essential methods such as put(), get(), flip(), rewind(), clear(), mark(), reset(), hasRemaining() and remaining() with code examples.

BackendBufferByteBuffer
0 likes · 12 min read
Understanding Java NIO Buffers: Creation, Core Properties, and Operations
Selected Java Interview Questions
Selected Java Interview Questions
Jun 9, 2021 · Backend Development

Understanding Java Serialization: Limitations, Performance Comparison, and Alternative Frameworks

The article explains what object serialization is, why it is needed for persistence and network transmission, outlines the major drawbacks of Java's built‑in serialization—including lack of cross‑language support, poor performance, and large payloads—and compares it with a custom ByteBuffer approach while reviewing popular alternative serialization frameworks.

ByteBufferJavaPerformance
0 likes · 7 min read
Understanding Java Serialization: Limitations, Performance Comparison, and Alternative Frameworks
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 10, 2019 · Databases

Source Code Analysis of DBLE Memory Management Module

This article provides a detailed analysis of DBLE's memory management module, explaining its structure, configuration parameters, allocation and recycling logic, and includes annotated source code snippets for classes such as DirectByteBufferPool and ByteBufferPage, illustrating how off‑heap and on‑heap memory are handled.

ByteBufferDBLEJava
0 likes · 13 min read
Source Code Analysis of DBLE Memory Management Module