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

Make dynamic dump repeatable

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • 17
    • hotspot
    • b06
    • generic
    • generic

      The dumping dynamic shared archive currently can only be executed once, it will fail second time if we call DynamicArchive::dump().

      Stack: [0x00007f28636f8000,0x00007f28637f8000], sp=0x00007f28637f67a8, 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+0x6704ec] MetaspaceClosure::ArrayRef<char>::size() const+0xc
      V [libjvm.so+0xb34952] MetaspaceClosure::do_push(MetaspaceClosure::Ref*)+0x52
      V [libjvm.so+0xb349d5] MetaspaceClosure::push_impl(MetaspaceClosure::Ref*)+0x45
      V [libjvm.so+0x6693c8] SharedPathTable::metaspace_pointers_do(MetaspaceClosure*)+0x118
      V [libjvm.so+0x64a67a] DynamicArchiveBuilder::iterate_roots(MetaspaceClosure*, bool)+0x1a
      V [libjvm.so+0x38d19c] ArchiveBuilder::gather_klasses_and_symbols()+0x1dc
      V [libjvm.so+0x38d495] ArchiveBuilder::gather_source_objs()+0x75
      V [libjvm.so+0x64aa85] VM_PopulateDynamicDumpSharedSpace::doit()+0x1c5
      V [libjvm.so+0xdd67aa] VM_Operation::evaluate()+0xea
      V [libjvm.so+0xdd8088] VMThread::evaluate_operation(VM_Operation*)+0xb8
      V [libjvm.so+0xdd8558] VMThread::inner_execute(VM_Operation*)+0x1c8
      V [libjvm.so+0xdd881f] VMThread::run()+0xbf
      V [libjvm.so+0xd5ae8e] Thread::call_run()+0xde
      V [libjvm.so+0xbb6a17] thread_native_entry(Thread*)+0xe7

            minqi Yumin Qi
            minqi Yumin Qi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: