Package org.adoptopenjdk.jitwatch.model.bytecode

Examples of org.adoptopenjdk.jitwatch.model.bytecode.LineTable.sort()


    table2.add(entry4);

    LineTable composite = new LineTable();
    composite.add(table2);
    composite.add(table1);
    composite.sort();
   
    assertEquals(0, composite.findSourceLineForBytecodeOffset(0));
    assertEquals(0, composite.findSourceLineForBytecodeOffset(1));
    assertEquals(5, composite.findSourceLineForBytecodeOffset(5));
    assertEquals(5, composite.findSourceLineForBytecodeOffset(6));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.