[lworld] C2: assert(_gvn.type(l)->higher_equal(type)) failed: must constrain OSR typestate

XMLWordPrintable

      gc/g1/humongousObjects/TestHumongousClassLoader.java failed with this assert in the lworld CI. I couldn't find another issue that matches this.

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/System/Volumes/Data/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S5931/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/2ed3fce6-d956-4679-9466-4370de4cb78b/runs/2ac2340a-1f11-498b-88d0-2435ad0373c6/workspace/open/src/hotspot/share/opto/parse1.cpp:192), pid=99500, tid=24835
      # assert(_gvn.type(l)->higher_equal(type)) failed: must constrain OSR typestate
      #
      # JRE version: Java(TM) SE Runtime Environment (27.0+1) (fastdebug build 27-valhalla+1-14)

      Current CompileTask:
      C2:5657 2037 % ! 4 com.sun.tools.javac.comp.Flow$BaseAnalyzer::forEachInitializer @ 26 (231 bytes)

      Stack: [0x0000000171970000,0x0000000171b73000], sp=0x0000000171b704f0, free space=2049k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0x13759d8] VMError::report(outputStream*, bool)+0x1b70 (parse1.cpp:192)
      V [libjvm.dylib+0x13792dc] VMError::report_and_die(int, char const*, char const*, char*, Thread*, unsigned char*, void const*, void const*, char const*, int, unsigned long)+0x55c
      V [libjvm.dylib+0x625590] print_error_for_unit_test(char const*, char const*, char*)+0x0
      V [libjvm.dylib+0xfe638c] Parse::check_interpreter_type(Node*, Type const*, TypeKlassPtr const*, SafePointNode*&, bool)+0x5fc
      V [libjvm.dylib+0xfe6d54] Parse::load_interpreter_state(Node*)+0x948
      V [libjvm.dylib+0xfe7fa4] Parse::Parse(JVMState*, ciMethod*, float)+0x874
      V [libjvm.dylib+0x411368] ParseGenerator::generate(JVMState*)+0x118
      V [libjvm.dylib+0x56db10] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x1004
      V [libjvm.dylib+0x40fa30] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1e4
      V [libjvm.dylib+0x593b44] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x98c
      V [libjvm.dylib+0x592e44] CompileBroker::compiler_thread_loop()+0x3cc
      V [libjvm.dylib+0x9e5f3c] JavaThread::thread_main_inner()+0x1f8
      V [libjvm.dylib+0x12a7600] Thread::call_run()+0xf0
      V [libjvm.dylib+0xfb8944] thread_native_entry(Thread*)+0x138
      C [libsystem_pthread.dylib+0x6bc8] _pthread_start+0x88
      Lock stack of current Java thread (top to bottom):

            Assignee:
            Unassigned
            Reporter:
            Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: