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

CondyRepeatFailedResolution asserts "Dynamic constant has no fixed basic type"

XMLWordPrintable

    • b24
    • generic
    • generic

        CondyRepeatFailedResolution occasionally fails with an assert in constantTag::basic_type that the _tag is JVM_CONSTANT_Dynamic or JVM_CONSTANT_DynamicInError, saying "Dynmaic constant has no fixed basic type".

        Stack trace from a couple of recent failures in mach5 look like:

        Current thread (0x00007fbd0c009000): GCTaskThread "GC Thread#5" [stack: 0x00007fbcd77f9000,0x00007fbcd78f9000] [id=3167]

        Stack: [0x00007fbcd77f9000,0x00007fbcd78f9000], sp=0x00007fbcd78f5df0, free space=1011k
        Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x1864f83] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x2c3
        V [libjvm.so+0x1865d4f] VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, __va_list_tag*)+0x2f
        V [libjvm.so+0xacdbf0] report_vm_error(char const*, int, char const*, char const*, ...)+0x100
        V [libjvm.so+0xab6ed7] constantTag::basic_type() const+0xb7
        V [libjvm.so+0xd67010] GenerateOopMap::do_ldc(int)+0x210
        V [libjvm.so+0xd6ac74] GenerateOopMap::interp_bb(BasicBlock*)+0xd4
        V [libjvm.so+0xd6b510] GenerateOopMap::do_interpretation()+0x110
        V [libjvm.so+0xd6b91b] GenerateOopMap::compute_map(Thread*)+0x38b
        V [libjvm.so+0x145be08] OopMapForCacheEntry::compute_map(Thread*)+0xd8
        V [libjvm.so+0x145dd11] OopMapCacheEntry::fill(methodHandle const&, int)+0x121
        V [libjvm.so+0x145ff48] OopMapCache::lookup(methodHandle const&, int, InterpreterOopMap*)+0x2f8
        V [libjvm.so+0xe248df] InstanceKlass::mask_for(methodHandle const&, int, InterpreterOopMap*)+0x2f
        V [libjvm.so+0x136bb23] Method::mask_for(int, InterpreterOopMap*)+0x93
        V [libjvm.so+0xc141e6] frame::oops_interpreted_do(OopClosure*, RegisterMap const*, bool)+0x826
        V [libjvm.so+0x1787447] JavaThread::oops_do(OopClosure*, CodeBlobClosure*)+0x1b7
        V [libjvm.so+0x1792d60] Threads::possibly_parallel_oops_do(bool, OopClosure*, CodeBlobClosure*)+0xd0
        V [libjvm.so+0xd22049] G1RootProcessor::process_java_roots(G1RootClosures*, G1GCPhaseTimes*, unsigned int)+0xb9
        V [libjvm.so+0xd226d8] G1RootProcessor::evacuate_roots(G1ParScanThreadState*, unsigned int)+0x68
        V [libjvm.so+0xc73de1] G1ParTask::work(unsigned int)+0xd1
        V [libjvm.so+0x18e89f0] GangWorker::loop()+0xe0
        V [libjvm.so+0x17958a5] Thread::call_run()+0x75
        V [libjvm.so+0x1480bd6] thread_native_entry(Thread*)+0x106

              lfoltan Lois Foltan
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: