// 
// Decompiled by Procyon v0.6.0
// 

package io.netty.buffer;

import jdk.jfr.Description;
import jdk.jfr.Label;
import jdk.jfr.Name;

@Name("io.netty.AllocateChunk")
@Label("Chunk Allocation")
@Description("Triggered when a new memory chunk is allocated for an allocator")
final class AllocateChunkEvent extends AbstractChunkEvent
{
    static final String NAME = "io.netty.AllocateChunk";
    private static final AllocateChunkEvent INSTANCE;
    @Description("Is this chunk pooled, or is it a one-off allocation for a single buffer?")
    public boolean pooled;
    @Description("Is this chunk part of a thread-local magazine or arena?")
    public boolean threadLocal;
    
    public static boolean isEventEnabled() {
        return AllocateChunkEvent.INSTANCE.isEnabled();
    }
    
    static {
        INSTANCE = new AllocateChunkEvent();
    }
}
