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

Internal error in metaspace.cpp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P2 P2
    • 9
    • 9
    • hotspot
    • gc
    • x86_64
    • windows_7

      [2015-07-08T03:34:22.14] ${JAVA} -client -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:ReservedCodeCacheSize=256M -XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true "-agentlib:HeapFilter=-waittime=5 filter=JVMTI_HEAP_FILTER_TAGGED" ${EXECUTE_CLASS} ${TEST_ARGS}
      [2015-07-08T03:34:22.14] # Actual: C:/local/aurora/CommonData/JDK_DIR/bin/java -client -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:ReservedCodeCacheSize=256M -XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true "-agentlib:HeapFilter=-waittime=5 filter=JVMTI_HEAP_FILTER_TAGGED" nsk.jvmti.IterateThroughHeap.filter_tagged.HeapFilter
      [2015-07-08T03:34:26.10] # To suppress the following error report, specify this argument
      [2015-07-08T03:34:26.10] # after -XX: or in .hotspotrc: SuppressErrorAt=\metaspace.cpp:805
      [2015-07-08T03:34:26.11] #
      [2015-07-08T03:34:26.11] # A fatal error has been detected by the Java Runtime Environment:
      [2015-07-08T03:34:26.11] #
      [2015-07-08T03:34:26.11] # Internal Error (C:\jprt\T\P1\174703.jmasamit\s\hotspot\src\share\vm\memory\metaspace.cpp:805), pid=79516, tid=0x00003db8
      [2015-07-08T03:34:26.11] # assert(_container_count == container_count_slow()) failed: Inconsistency in container_count _container_count 2 container_count_slow() 10
      [2015-07-08T03:34:26.11] #
      [2015-07-08T03:34:26.11] # JRE version: Java(TM) SE Runtime Environment (9.0) (build 1.9.0-internal-fastdebug-20150707174703.jmasamit.jdk9-full-push-b00)
      [2015-07-08T03:34:26.11] # Java VM: Java HotSpot(TM) Client VM (1.9.0-internal-20150707174703.jmasamit.jdk9-full-push-b00 mixed mode windows-x86 )
      [2015-07-08T03:34:26.11] # Core dump will be written. Default location: C:\local\aurora\sandbox\results\ResultDir\filter-tagged\hs_err_pid79516.mdmp
      [2015-07-08T03:34:26.11] #
      [2015-07-08T03:34:26.11] # An error report file with more information is saved as:
      [2015-07-08T03:34:26.11] # C:\local\aurora\sandbox\results\ResultDir\filter-tagged\hs_err_pid79516.log
      [2015-07-08T03:34:30.16] #
      [2015-07-08T03:34:30.16] # If you would like to submit a bug report, please visit:
      [2015-07-08T03:34:30.16] # http://bugreport.java.com/bugreport/crash.jsp
      [2015-07-08T03:34:30.16] #
      [2015-07-08T03:34:34.03] # Test level exit status: 1


      An excerpt from hs_err (the offending thread):

      Current thread (0x1bec5c00): JavaThread "Thread-1" [_thread_in_vm, id=15800, stack(0x1d980000,0x1d9d0000)]

      Stack: [0x1d980000,0x1d9d0000], sp=0x1d9ce618, free space=313k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0x291d79] VMError::report_and_die+0x3d9;; ?report_and_die@VMError@@QAEXXZ+0x3d9
      V [jvm.dll+0x285dd3] report_vm_error+0x43;; ?report_vm_error@@YAXPBDH00@Z+0x43
      V [jvm.dll+0x102c74] VirtualSpaceNode::verify_container_count+0x84;; ?verify_container_count@VirtualSpaceNode@@QAEXXZ+0x84
      V [jvm.dll+0xff5f1] VirtualSpaceList::get_new_chunk+0x41;; ?get_new_chunk@VirtualSpaceList@@QAEPAVMetachunk@@III@Z+0x41
      V [jvm.dll+0xff564] SpaceManager::get_new_chunk+0xa4;; ?get_new_chunk@SpaceManager@@QAEPAVMetachunk@@II@Z+0xa4
      V [jvm.dll+0xffc6b] SpaceManager::grow_and_allocate+0xfb;; ?grow_and_allocate@SpaceManager@@QAEPAVMetaWord@@I@Z+0xfb
      V [jvm.dll+0xfd449] SpaceManager::allocate_work+0xc9;; ?allocate_work@SpaceManager@@QAEPAVMetaWord@@I@Z+0xc9
      V [jvm.dll+0xfd361] SpaceManager::allocate+0x91;; ?allocate@SpaceManager@@QAEPAVMetaWord@@I@Z+0x91
      V [jvm.dll+0xfd22e] Metaspace::allocate+0x12e;; ?allocate@Metaspace@@SAPAVMetaWord@@PAVClassLoaderData@@I_NW4Type@MetaspaceObj@@PAVThread@@@Z+0x12e
      V [jvm.dll+0xe8387] MetaspaceObj::operator new+0x17;; ??2MetaspaceObj@@SAPAXIPAVClassLoaderData@@I_NW4Type@0@PAVThread@@@Z+0x17
      V [jvm.dll+0x10ee92] ConstantPool::allocate+0x42;; ?allocate@ConstantPool@@SAPAV1@PAVClassLoaderData@@HPAVThread@@@Z+0x42
      V [jvm.dll+0x5b3bb] ClassFileParser::parse_constant_pool+0xdb;; ?parse_constant_pool@ClassFileParser@@AAE?AVconstantPoolHandle@@PAVThread@@@Z+0xdb
      V [jvm.dll+0x58b99] ClassFileParser::parseClassFile+0x459;; ?parseClassFile@ClassFileParser@@QAE?AVinstanceKlassHandle@@PAVSymbol@@PAVClassLoaderData@@VHandle@@VKlassHandle@@PAV?$GrowableArray@VHandle@@@@AAVTempNewSymbol@@_NPAVThread@@@Z+0x459
      V [jvm.dll+0x667e4] ClassLoader::load_classfile+0x284;; ?load_classfile@ClassLoader@@SA?AVinstanceKlassHandle@@PAVSymbol@@PAVThread@@@Z+0x284
      V [jvm.dll+0x8c384] SystemDictionary::load_instance_class+0xd4;; ?load_instance_class@SystemDictionary@@KA?AVinstanceKlassHandle@@PAVSymbol@@VHandle@@PAVThread@@@Z+0xd4
      V [jvm.dll+0x8e148] SystemDictionary::resolve_instance_class_or_null+0x4b8;; ?resolve_instance_class_or_null@SystemDictionary@@KAPAVKlass@@PAVSymbol@@VHandle@@1PAVThread@@@Z+0x4b8
      V [jvm.dll+0x8e672] SystemDictionary::resolve_or_null+0x182;; ?resolve_or_null@SystemDictionary@@SAPAVKlass@@PAVSymbol@@VHandle@@1PAVThread@@@Z+0x182
      V [jvm.dll+0x8e446] SystemDictionary::resolve_or_fail+0x16;; ?resolve_or_fail@SystemDictionary@@SAPAVKlass@@PAVSymbol@@VHandle@@1_NPAVThread@@@Z+0x16
      V [jvm.dll+0x112126] ConstantPool::klass_at_impl+0x1b6;; ?klass_at_impl@ConstantPool@@CAPAVKlass@@VconstantPoolHandle@@H_NPAVThread@@@Z+0x1b6
      V [jvm.dll+0xd1aff] InterpreterRuntime::_new+0xcf;; ?_new@InterpreterRuntime@@SAXPAVJavaThread@@PAVConstantPool@@H@Z+0xcf
      j sun.nio.ch.FileChannelImpl.<init>(Ljava/io/FileDescriptor;Ljava/lang/String;ZZLjava/lang/Object;)V+55
      ...

            jprovino Joseph Provino (Inactive)
            jbachorik Jaroslav BachorĂ­k
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: