jcstress: Interepreted mode match is incorrect

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None

      Look here:

                      // If this actor runs in interpreted mode, then actor method should not be compiled.
                      // Allow run loop to be compiled with the best compiler available.
                      if (CompileMode.isInt(cm, a)) {
                          pw.println(" {");
                          pw.println(" match: \"+" + task.name + "::" + an + "\",");


      The "+" sign there is a copy-paste error from a relevant "inline" block. But "+" makes no sense in "match", and it would always mismatch. That means the "interpreter" split configuration are actually compiling.

            Assignee:
            Aleksey Shipilev
            Reporter:
            Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: