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

[lworld] byteMutation test asserts intermittently in the verifier

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: hotspot
    • Labels:

      Description

      Test vmTestbase/vm/mlvm/anonloader/stress/byteMutation/Test.java occasionally asserts with:

      # Internal Error (/scratch/opt/mach5/mesos/work_dir/slaves/c4ee7e63-1ded-4e8c-9581-ce26f27e3af4-S367295/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c3b150a3-3253-438b-b26a-17e515ce75c8/runs/50368491-ae42-48ca-b07a-8119107179c5/workspace/open/src/hotspot/share/classfile/verificationType.hpp:265), pid=527, tid=11766
      # assert(!is_null() && (is_reference() || is_valuetype())) failed: Must be a non-null reference or a value type
      #
      Current thread (0x00007fc62c136800): JavaThread "Thread-11027" daemon [_thread_in_vm, id=11766, stack(0x00007fc664051000,0x00007fc664152000)]

      Stack: [0x00007fc664051000,0x00007fc664152000], sp=0x00007fc66414e180, free space=1012k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x18b8dc7] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x257
      V [libjvm.so+0x18b9bcf] VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, __va_list_tag*)+0x2f
      V [libjvm.so+0xb1bfb0] report_vm_error(char const*, int, char const*, char const*, ...)+0x100
      V [libjvm.so+0x186a8f9] VerificationType::name() const+0x69
      V [libjvm.so+0x187838c] ClassVerifier::verify_method(methodHandle const&, Thread*)+0x114c
      V [libjvm.so+0x187ddc0] ClassVerifier::verify_class(Thread*)+0x200
      V [libjvm.so+0x187e501] Verifier::verify(InstanceKlass*, Verifier::Mode, bool, Thread*)+0x421
      V [libjvm.so+0xe8d51e] InstanceKlass::link_class_impl(bool, Thread*)+0x56e
      V [libjvm.so+0xe8deef] InstanceKlass::link_class(Thread*)+0x7f
      V [libjvm.so+0x1071ff9] get_class_declared_methods_helper(JNIEnv_*, _jclass*, unsigned char, bool, Klass*, Thread*)+0x1d9
      V [libjvm.so+0x1072c15] JVM_GetClassDeclaredConstructors+0x105
      J 1064 java.lang.Class.getDeclaredConstructors0(Z)[Ljava/lang/reflect/Constructor; java.base@11-lworldea (0 bytes) @ 0x00007fc67881bf42 [0x00007fc67881be00+0x0000000000000142]

        Attachments

          Activity

            People

            • Assignee:
              hseigel Harold Seigel
              Reporter:
              hseigel Harold Seigel
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: