From 74c0e8cdc80d3c1919174ac9ee2c1a76d63d97a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=A6=E5=85=B8?= <30826840+dlutsniper@users.noreply.github.com> Date: Wed, 11 Dec 2019 16:26:21 +0800 Subject: [PATCH] Update ChannelOutboundBuffer.java (#9863) Motivation: fix comment of ChannelOutboundBuffer.CHANNEL_OUTBOUND_BUFFER_ENTRY_OVERHEAD Modifications: 6 (NOT 8) reference fields is right Result: Correct comment --- .../src/main/java/io/netty/channel/ChannelOutboundBuffer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/src/main/java/io/netty/channel/ChannelOutboundBuffer.java b/transport/src/main/java/io/netty/channel/ChannelOutboundBuffer.java index 3a876cf3c5..3259f19515 100644 --- a/transport/src/main/java/io/netty/channel/ChannelOutboundBuffer.java +++ b/transport/src/main/java/io/netty/channel/ChannelOutboundBuffer.java @@ -54,7 +54,7 @@ import static java.util.Objects.requireNonNull; public final class ChannelOutboundBuffer { // Assuming a 64-bit JVM: // - 16 bytes object header - // - 8 reference fields + // - 6 reference fields // - 2 long fields // - 2 int fields // - 1 boolean field