Package nginx.clojure.wave.SuspendMethodVerifier

Examples of nginx.clojure.wave.SuspendMethodVerifier.VerifyMethodInfo


          VerifyMethodInfo[] nvmis = new VerifyMethodInfo[verifyInfo.methodIdxInfos.length << 1];
            System.arraycopy(verifyInfo.methodIdxInfos, 0, nvmis, 0, verifyInfo.methodIdxInfos.length);
            verifyInfo.methodIdxInfos = nvmis;
        }
        checkClassAndMethod(idx, "pushMethodAndReserveSpaceV", classAndMethod);
        VerifyMethodInfo vmi = verifyInfo.methodIdxInfos[idx];
        VerifyVarInfo[] mvvis = db.getVerfiyMethodInfos().get(classAndMethod)[entry-1];
        VerifyVarInfo[] vvis = new VerifyVarInfo[mvvis.length];
        for (int i = 0; i < mvvis.length; i++) {
          if (mvvis[i] != null) {
            vvis[i] = mvvis[i].clone();
View Full Code Here


          method[idx+1] = 0;
        }
    }
   
    private boolean checkClassAndMethod(int idx, String phrase,  String classAndMethod) {
      VerifyMethodInfo vmi = verifyInfo.methodIdxInfos[idx];
      if ( !classAndMethod.equals(vmi.classAndMethod) ) {
        RuntimeException re = new RuntimeException(buildMessage(this, "#%d %s tos=%d midx=%d sp=%d %s != %s", verifyInfo.vid, phrase, methodTOS, idx, curMethodSP, classAndMethod, vmi.classAndMethod));
        db.error(re);
        return false;
      }
View Full Code Here

      if (entry < 0) {
      db.warn("#%d nextMethodEntry %s,tos=%d midx=%d sp=%d return -1, we meet a broken suspend methods path because of unwaved methods mingled in the path",
          verifyInfo.vid, classAndMethod, methodTOS, idx, curMethodSP);
    } else {
      if (entry == 0) {
        VerifyMethodInfo vmi = verifyInfo.methodIdxInfos[idx] = verifyInfo.tracerStacks.get(verifyInfo.tracerStacks.size() - 1);
        vmi.idx = methodTOS;
      }
      if (!checkClassAndMethod(idx, "nextMethodEntryV", classAndMethod)){
        db.error("#%d nextMethodEntryV  entry=%d tos=%d midx=%d sp=%d classAndMethod:%s", verifyInfo.vid, entry, methodTOS, idx, curMethodSP, classAndMethod);
      }
View Full Code Here

TOP

Related Classes of nginx.clojure.wave.SuspendMethodVerifier.VerifyMethodInfo

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.