public class org.apache.cassandra.db.commitlog.MemoryMappedSegment extends org.apache.cassandra.db.commitlog.CommitLogSegment
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.cassandra.db.commitlog.MemoryMappedSegment
  super_class: org.apache.cassandra.db.commitlog.CommitLogSegment
{
  void <init>(org.apache.cassandra.db.commitlog.CommitLog, org.apache.cassandra.db.commitlog.AbstractCommitLogSegmentManager);
    descriptor: (Lorg/apache/cassandra/db/commitlog/CommitLog;Lorg/apache/cassandra/db/commitlog/AbstractCommitLogSegmentManager;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // org.apache.cassandra.db.commitlog.MemoryMappedSegment this
        start local 1 // org.apache.cassandra.db.commitlog.CommitLog commitLog
        start local 2 // org.apache.cassandra.db.commitlog.AbstractCommitLogSegmentManager manager
         0: .line 45
            aload 0 /* this */
            aload 1 /* commitLog */
            aload 2 /* manager */
            invokespecial org.apache.cassandra.db.commitlog.CommitLogSegment.<init>:(Lorg/apache/cassandra/db/commitlog/CommitLog;Lorg/apache/cassandra/db/commitlog/AbstractCommitLogSegmentManager;)V
         1: .line 47
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.MemoryMappedSegment.buffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.position:()I
            istore 3 /* firstSync */
        start local 3 // int firstSync
         2: .line 48
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.MemoryMappedSegment.buffer:Ljava/nio/ByteBuffer;
            iload 3 /* firstSync */
            iconst_0
            iadd
            iconst_0
            invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
            pop
         3: .line 49
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.MemoryMappedSegment.buffer:Ljava/nio/ByteBuffer;
            iload 3 /* firstSync */
            iconst_4
            iadd
            iconst_0
            invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
            pop
         4: .line 50
            return
        end local 3 // int firstSync
        end local 2 // org.apache.cassandra.db.commitlog.AbstractCommitLogSegmentManager manager
        end local 1 // org.apache.cassandra.db.commitlog.CommitLog commitLog
        end local 0 // org.apache.cassandra.db.commitlog.MemoryMappedSegment this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0       this  Lorg/apache/cassandra/db/commitlog/MemoryMappedSegment;
            0    5     1  commitLog  Lorg/apache/cassandra/db/commitlog/CommitLog;
            0    5     2    manager  Lorg/apache/cassandra/db/commitlog/AbstractCommitLogSegmentManager;
            2    5     3  firstSync  I
    MethodParameters:
           Name  Flags
      commitLog  
      manager    

  java.nio.ByteBuffer createBuffer(org.apache.cassandra.db.commitlog.CommitLog);
    descriptor: (Lorg/apache/cassandra/db/commitlog/CommitLog;)Ljava/nio/ByteBuffer;
    flags: (0x0000) 
    Code:
      stack=6, locals=3, args_size=2
        start local 0 // org.apache.cassandra.db.commitlog.MemoryMappedSegment this
        start local 1 // org.apache.cassandra.db.commitlog.CommitLog commitLog
         0: .line 56
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.MemoryMappedSegment.channel:Ljava/nio/channels/FileChannel;
            getstatic java.nio.channels.FileChannel$MapMode.READ_WRITE:Ljava/nio/channels/FileChannel$MapMode;
            lconst_0
            invokestatic org.apache.cassandra.config.DatabaseDescriptor.getCommitLogSegmentSize:()I
            i2l
            invokevirtual java.nio.channels.FileChannel.map:(Ljava/nio/channels/FileChannel$MapMode;JJ)Ljava/nio/MappedByteBuffer;
            astore 2 /* mappedFile */
        start local 2 // java.nio.MappedByteBuffer mappedFile
         1: .line 57
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.MemoryMappedSegment.manager:Lorg/apache/cassandra/db/commitlog/AbstractCommitLogSegmentManager;
            invokestatic org.apache.cassandra.config.DatabaseDescriptor.getCommitLogSegmentSize:()I
            i2l
            invokevirtual org.apache.cassandra.db.commitlog.AbstractCommitLogSegmentManager.addSize:(J)V
         2: .line 58
            aload 2 /* mappedFile */
         3: areturn
        end local 2 // java.nio.MappedByteBuffer mappedFile
         4: .line 60
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 2 /* e */
        start local 2 // java.io.IOException e
         5: .line 62
            new org.apache.cassandra.io.FSWriteError
            dup
            aload 2 /* e */
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.MemoryMappedSegment.logFile:Ljava/io/File;
            invokespecial org.apache.cassandra.io.FSWriteError.<init>:(Ljava/lang/Throwable;Ljava/io/File;)V
            athrow
        end local 2 // java.io.IOException e
        end local 1 // org.apache.cassandra.db.commitlog.CommitLog commitLog
        end local 0 // org.apache.cassandra.db.commitlog.MemoryMappedSegment this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    6     0        this  Lorg/apache/cassandra/db/commitlog/MemoryMappedSegment;
            0    6     1   commitLog  Lorg/apache/cassandra/db/commitlog/CommitLog;
            1    4     2  mappedFile  Ljava/nio/MappedByteBuffer;
            5    6     2           e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           0     3       4  Class java.io.IOException
    MethodParameters:
           Name  Flags
      commitLog  

  void write(int, int);
    descriptor: (II)V
    flags: (0x0000) 
    Code:
      stack=6, locals=3, args_size=3
        start local 0 // org.apache.cassandra.db.commitlog.MemoryMappedSegment this
        start local 1 // int startMarker
        start local 2 // int nextMarker
         0: .line 71
            iload 2 /* nextMarker */
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.MemoryMappedSegment.buffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.capacity:()I
            bipush 8
            isub
            if_icmpgt 3
         1: .line 73
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.MemoryMappedSegment.buffer:Ljava/nio/ByteBuffer;
            iload 2 /* nextMarker */
            iconst_0
            invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
            pop
         2: .line 74
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.MemoryMappedSegment.buffer:Ljava/nio/ByteBuffer;
            iload 2 /* nextMarker */
            iconst_4
            iadd
            iconst_0
            invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
            pop
         3: .line 79
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.MemoryMappedSegment.id:J
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.MemoryMappedSegment.buffer:Ljava/nio/ByteBuffer;
            iload 1 /* startMarker */
            iload 1 /* startMarker */
            iload 2 /* nextMarker */
            invokestatic org.apache.cassandra.db.commitlog.MemoryMappedSegment.writeSyncMarker:(JLjava/nio/ByteBuffer;III)V
         4: .line 80
            return
        end local 2 // int nextMarker
        end local 1 // int startMarker
        end local 0 // org.apache.cassandra.db.commitlog.MemoryMappedSegment this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    5     0         this  Lorg/apache/cassandra/db/commitlog/MemoryMappedSegment;
            0    5     1  startMarker  I
            0    5     2   nextMarker  I
    MethodParameters:
             Name  Flags
      startMarker  
      nextMarker   

  protected void flush(int, int);
    descriptor: (II)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=4, args_size=3
        start local 0 // org.apache.cassandra.db.commitlog.MemoryMappedSegment this
        start local 1 // int startMarker
        start local 2 // int nextMarker
         0: .line 87
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.MemoryMappedSegment.buffer:Ljava/nio/ByteBuffer;
            checkcast java.nio.MappedByteBuffer
            invokestatic org.apache.cassandra.utils.SyncUtil.force:(Ljava/nio/MappedByteBuffer;)Ljava/nio/MappedByteBuffer;
            pop
         1: .line 88
            goto 4
         2: .line 89
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 3 /* e */
        start local 3 // java.lang.Exception e
         3: .line 91
            new org.apache.cassandra.io.FSWriteError
            dup
            aload 3 /* e */
            aload 0 /* this */
            invokevirtual org.apache.cassandra.db.commitlog.MemoryMappedSegment.getPath:()Ljava/lang/String;
            invokespecial org.apache.cassandra.io.FSWriteError.<init>:(Ljava/lang/Throwable;Ljava/lang/String;)V
            athrow
        end local 3 // java.lang.Exception e
         4: .line 93
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.MemoryMappedSegment.fd:I
            iload 1 /* startMarker */
            i2l
            iload 2 /* nextMarker */
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.MemoryMappedSegment.logFile:Ljava/io/File;
            invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
            invokestatic org.apache.cassandra.utils.NativeLibrary.trySkipCache:(IJILjava/lang/String;)V
         5: .line 94
            return
        end local 2 // int nextMarker
        end local 1 // int startMarker
        end local 0 // org.apache.cassandra.db.commitlog.MemoryMappedSegment this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    6     0         this  Lorg/apache/cassandra/db/commitlog/MemoryMappedSegment;
            0    6     1  startMarker  I
            0    6     2   nextMarker  I
            3    4     3            e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.Exception
    MethodParameters:
             Name  Flags
      startMarker  
      nextMarker   

  public long onDiskSize();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.cassandra.db.commitlog.MemoryMappedSegment this
         0: .line 99
            invokestatic org.apache.cassandra.config.DatabaseDescriptor.getCommitLogSegmentSize:()I
            i2l
            lreturn
        end local 0 // org.apache.cassandra.db.commitlog.MemoryMappedSegment this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/cassandra/db/commitlog/MemoryMappedSegment;

  protected void internalClose();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.db.commitlog.MemoryMappedSegment this
         0: .line 105
            getstatic org.apache.cassandra.io.util.FileUtils.isCleanerAvailable:Z
            ifeq 2
         1: .line 106
            aload 0 /* this */
            getfield org.apache.cassandra.db.commitlog.MemoryMappedSegment.buffer:Ljava/nio/ByteBuffer;
            invokestatic org.apache.cassandra.io.util.FileUtils.clean:(Ljava/nio/ByteBuffer;)V
         2: .line 107
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokespecial org.apache.cassandra.db.commitlog.CommitLogSegment.internalClose:()V
         3: .line 108
            return
        end local 0 // org.apache.cassandra.db.commitlog.MemoryMappedSegment this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/apache/cassandra/db/commitlog/MemoryMappedSegment;
}
SourceFile: "MemoryMappedSegment.java"
InnerClasses:
  public MapMode = java.nio.channels.FileChannel$MapMode of java.nio.channels.FileChannel