Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8168712

[AOT] assert(false) failed: DEBUG MESSAGE: InterpreterMacroAssembler::call_VM_base: last_sp != NULL

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9, 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b31

      Description

      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=/macroAssembler_x86.cpp:890
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (src/cpu/x86/vm/macroAssembler_x86.cpp:890), pid=29495, tid=29498
      # assert(false) failed: DEBUG MESSAGE: InterpreterMacroAssembler::call_VM_leaf_base: last_sp != NULL
      #
      # JRE version: Java(TM) SE Runtime Environment (10.0) (slowdebug build 10-internal+0-adhoc.jamsheed.hs)

      import java.util.*;

      public class T {
      static TreeSet<T> m = new TreeSet<>();
          public static void main(String args[]) {
             int i = 0;
             while(++i<15000)test();
          }
          static T test(){
      return new T();
          }
      protected void finalize() { m.add(this);}
      }


      option used : -XX:CompileCommand=compileonly,T.* -XX:CompileCommand=compileonly,*Object.* -XX:+DTraceMethodProbes -XX:-UseOnStackReplacement -XX:+DeoptimizeRandom T

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jcm Jamsheed C M
                Reporter:
                dpochepk Dmitrij Pochepko
              • Votes:
                0 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: