Package com.insightfullogic.slab

Examples of com.insightfullogic.slab.Allocator


    @SuppressWarnings("rawtypes")
    @Test
    public void reproduceIssue() {
        int reps = 100;
        Allocator eventAllocator = Allocator.of(SlabOperation.class);
        final SlabOperation op = (SlabOperation) eventAllocator.allocate(reps);
        for (int i = 0; i < reps; i++) {
          op.move(1);

          op.setMagic((byte) 0x80);
          op.setOpCode((byte) 0x09);
View Full Code Here

TOP

Related Classes of com.insightfullogic.slab.Allocator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.