Examples of OptimizedVirtualCall


Examples of org.adoptopenjdk.jitwatch.optimizedvcall.OptimizedVirtualCall

    operands.add("%rax");
    String firstComment = null;

    AssemblyInstruction ins = new AssemblyInstruction(annotation, address, modifier, mnemonic, operands, firstComment);

    OptimizedVirtualCall vCall = OptimizedVirtualCallFinder.findOptimizedCall(null, ins);

    assertNull(vCall);
  }
View Full Code Here

Examples of org.adoptopenjdk.jitwatch.optimizedvcall.OptimizedVirtualCall

    operands.add("%rax");
    String firstComment = "; - FooClass::fooMethod@1 (line 42)";

    AssemblyInstruction ins = new AssemblyInstruction(annotation, address, modifier, mnemonic, operands, firstComment);

    OptimizedVirtualCall vCall = OptimizedVirtualCallFinder.findOptimizedCall(null, ins);

    assertNull(vCall);
  }
View Full Code Here

Examples of org.adoptopenjdk.jitwatch.optimizedvcall.OptimizedVirtualCall

    AssemblyInstruction ins = new AssemblyInstruction(annotation, address, modifier, mnemonic, operands, comment1);
    ins.addCommentLine(comment2);
    ins.addCommentLine(comment3);

    OptimizedVirtualCall vCall = OptimizedVirtualCallFinder.findOptimizedCall(null, ins);

    assertNotNull(vCall);

    VirtualCallSite caller = vCall.getCaller();
    VirtualCallSite callee = vCall.getCallee();

    assertEquals("FooClass", caller.getClassName());
    assertEquals("fooMethod", caller.getMemberName());
    assertEquals(11, caller.getBytecodeOffset());
    assertEquals(76, caller.getSourceLine());
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.