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

Fix StringTable::verify to not allocate memory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 9
    • Fix Version/s: 10
    • Component/s: hotspot

      Description

      #
      # There is insufficient memory for the Java Runtime Environment to continue.
      # Native memory allocation (malloc) failed to allocate 95260472 bytes for unable to create Unicode string for verification
      # Possible reasons:
      # The system is out of physical RAM or swap space
      # In 32 bit mode, the process size limit was hit
      # Possible solutions:
      # Reduce memory load on the system
      # Increase physical memory or swap space
      # Check if swap backing store is full
      # Use 64 bit Java on a 64 bit OS
      # Decrease Java heap size (-Xmx/-Xms)
      # Decrease number of Java threads
      # Decrease Java thread stack sizes (-Xss)
      # Set larger code cache with -XX:ReservedCodeCacheSize=
      # This output file may be truncated or incomplete.
      #
      # Out of Memory Error (/HUDSON/workspace/9-2-build-solaris-amd64-phase2/jdk9/5200/hotspot/src/share/vm/classfile/stringTable.cpp:115), pid=10196, tid=57
      #
      # JRE version: Java(TM) SE Runtime Environment (9.0+124) (fastdebug build 9-ea+124)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 9-ea+124, mixed mode, tiered, compressed oops, g1 gc, solaris-amd64)
      # Core dump will be written. Default location: /bpool/local/aurora/sandbox/results/ResultDir/Humongous_InternedStrings/core or core.10196
      #

      --------------- S U M M A R Y ------------

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

      Current thread (0x0000000000cda800): VMThread "VM Thread" [stack: 0xfffffd7f916e9000,0xfffffd7f917e9000] [id=57]

      Stack: [0xfffffd7f916e9000,0xfffffd7f917e9000], sp=0xfffffd7f917e6040, free space=1012k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x21b45ba] void VMError::report(outputStream*,bool)+0xfca
      V [libjvm.so+0x21b6833] void VMError::report_and_die(int,const char*,const char*,__va_list_element*,Thread*,unsigned char*,void*,void*,const char*,int,unsigned long)+0x8e3
      V [libjvm.so+0x21b5f33] void VMError::report_and_die(Thread*,const char*,int,unsigned long,VMErrorType,const char*,__va_list_element*)+0x43
      V [libjvm.so+0x150fab0] void report_vm_out_of_memory(const char*,int,unsigned long,VMErrorType,const char*,...)+0xf0
      V [libjvm.so+0x202b8a5] void StringTable::verify()+0x3c5
      V [libjvm.so+0x2145685] void Universe::verify(VerifyOption,const char*)+0x1c5
      V [libjvm.so+0x21f1f4c] void VMThread::run()+0x1bc
      V [libjvm.so+0x1e53a88] thread_native_entry+0x168
      C [libc.so.1+0x12257d] _thrp_setup+0xa5
      C [libc.so.1+0x122820] _lwp_start+0x0

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mchernov Michail Chernov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: