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

RedefineRunningMethods.java failed assertion

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 11
    • hotspot
    • gc
    • x86_64
    • linux

      The following test failed in the jdk/jdk CI:

      runtime/RedefineTests/RedefineRunningMethods.java

      due to this assertion failure:

      # Internal Error (<path>/open/src/hotspot/share/classfile/javaClasses.cpp:1477), pid=31888, tid=32639
      # assert(oopDesc::equals(java_class, Universe::void_mirror())) failed: only valid non-array primitive

      Here's the crashing stack trace:

      --------------- T H R E A D ---------------

      Current thread (0x00007f4950011800): GCTaskThread "ParGC Thread#3" [stack: 0x00007f4955345000,0x00007f4955445000] [id=32639]

      Stack: [0x00007f4955345000,0x00007f4955445000], sp=0x00007f4955443540, free space=1017k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x18a7a3f] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x25f
      V [libjvm.so+0x18a885f] VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, __va_list_tag*)+0x2f
      V [libjvm.so+0xb2b010] report_vm_error(char const*, int, char const*, char const*, ...)+0x100
      V [libjvm.so+0xef462f] java_lang_Class::primitive_type(oop)+0x2ef
      V [libjvm.so+0xe8f1c8] InstanceKlass::oop_print_value_on(oop, outputStream*)+0x2c8
      V [libjvm.so+0x14b8cfd] oopDesc::print_value_on(outputStream*) const+0xfd
      V [libjvm.so+0x1469329] DetectScavengeRoot::do_oop(oop*)+0xf9
      V [libjvm.so+0x145c8c1] nmethod::oops_do(OopClosure*, bool)+0x231
      V [libjvm.so+0x145cc36] nmethod::detect_scavenge_root_oops()+0x26
      V [libjvm.so+0xa280f0] CodeCache::scavenge_root_nmethods_do(CodeBlobToOopClosure*)+0x260
      V [libjvm.so+0x15ff3c5] ScavengeRootsTask::do_it(GCTaskManager*, unsigned int)+0xf5
      V [libjvm.so+0xda6e63] GCTaskThread::run()+0x2a3
      V [libjvm.so+0x14f3f30] thread_native_entry(Thread*)+0x100


      The test is in a Runtime directory, but it exercises class
      redefinition which is a Serviceability technology. The
      stack trace clearly shows we crashed in GC code...
      I'm starting this one off in hotspot/gc for initial triage.

      While I'm finding other failures for this test, I'm not finding
      failures with this specific assertion so I'm tagging this one
      as a regression and a promotion_blocker to start with.

            Unassigned Unassigned
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: