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

Test runtime/cds/appcds/TestParallelGCWithCDS.java#id0 failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 24
    • hotspot
    • x86_64
    • os_x

      We have a swag of failures in tier7 all on macOS x64.

      There is a basic failure mode:

      [0.011s][info][cds] Archive was created with UseCompressedOops = 1, UseCompressedClassPointers = 1, UseCompactObjectHeaders = 0
      [0.011s][info][cds] Core region alignment: 16384
      [0.011s][info][cds] Reserved archive_space_rs [0x0000000800000000 - 0x0000000801000000] (16777216) bytes
      [0.011s][info][cds] Reserved class_space_rs [0x0000000801000000 - 0x0000000841000000] (1073741824) bytes
      [0.011s][info][cds] Mapped static region #0 at base 0x0000000800000000 top 0x00000008005b8000 (ReadWrite)
      [0.011s][info][cds] Mapped static region #1 at base 0x00000008005b8000 top 0x0000000800ecc000 (ReadOnly)
      [0.011s][info][cds] _archived_main_module_name (null)
      [0.011s][info][cds] optimized module handling: enabled
      [0.011s][info][cds] full module graph: enabled
      [0.011s][info][cds] optimized module handling: enabled
      [0.011s][info][cds] full module graph: enabled
      [0.011s][info][cds] ArchiveRelocationMode == 1: always map archive(s) at an alternative address
      [0.011s][info][cds] Unmapping region #0 at base 0x0000000800000000 (ReadWrite)
      [0.011s][info][cds] Unmapping region #1 at base 0x00000008005b8000 (ReadOnly)
      [0.011s][info][cds] Try to map archive(s) at an alternative address
      [0.011s][info][cds] Reserved archive_space_rs [0x000000011d000000 - 0x000000011e000000] (16777216) bytes
      [0.011s][info][cds] Reserved class_space_rs [0x000000011e000000 - 0x000000015e000000] (1073741824) bytes
      [0.012s][info][cds] Mapped static region #0 at base 0x000000011d000000 top 0x000000011d5b8000 (ReadWrite)
      [0.012s][info][cds] Mapped static region #1 at base 0x000000011d5b8000 top 0x000000011decc000 (ReadOnly)
      [0.012s][info][cds] Mapped static region #2 at base 0x000000010ae06000 top 0x000000010ae46000 (Bitmap)
      [0.032s][info][cds] _archived_main_module_name (null)
      [0.032s][info][cds] optimized module handling: enabled
      [0.032s][info][cds] full module graph: enabled
      [0.032s][info][cds] optimized module handling: enabled
      [0.032s][info][cds] full module graph: enabled
      [0.032s][info][cds] CDS archive was created with max heap size = 256M, and the following configuration:
      [0.032s][info][cds] narrow_klass_base at mapping start address, narrow_klass_pointer_bits = 32, narrow_klass_shift = 0
      [0.032s][info][cds] narrow_oop_mode = 1, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 6
      [0.032s][info][cds] The current max heap size = 2M, G1HeapRegion::GrainBytes = 0
      [0.032s][info][cds] narrow_klass_base = 0x000000011d000000, arrow_klass_pointer_bits = 32, narrow_klass_shift = 0
      [0.032s][info][cds] narrow_oop_mode = 1, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 6
      [0.032s][info][cds] heap range = [0x0000003fffe00000 - 0x0000004000000000]
      [0.032s][info][cds] initial optimized module handling: enabled
      [0.032s][info][cds] initial full module graph: disabled
      [0.032s][info][cds] Unmapping region #2 at base 0x000000010ae06000 (Bitmap)
      ];
       stderr: [Exception in thread "main" ]
       exitValue = 0

      java.lang.RuntimeException: 'Hello World' missing from stdout/stderr
      at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:253)
      at TestParallelGCWithCDS.test(TestParallelGCWithCDS.java:146)
      at TestParallelGCWithCDS.main(TestParallelGCWithCDS.java:82)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
      at java.base/java.lang.Thread.run(Thread.java:1576)


      but then there are two crashes:

      # fatal error: memory leak: allocating without ResourceMark

      Stack: [0x000070000358f000,0x000070000368f000], sp=0x000070000368e050, free space=1020k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0x1290381] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x5a1 (resourceArea.cpp:55)
      V [libjvm.dylib+0x6922b0] DebuggingContext::~DebuggingContext()+0x0
      V [libjvm.dylib+0x101fa0c] ResourceArea::allocate_bytes(unsigned long, AllocFailStrategy::AllocFailEnum)+0x10c
      V [libjvm.dylib+0x116c6f2] Symbol::as_klass_external_name() const+0x22
      V [libjvm.dylib+0xcd0ffe] Klass::oop_print_on(oop, outputStream*)+0x1e
      V [libjvm.dylib+0x972bc5] InstanceKlass::oop_print_on(oop, outputStream*)+0x65
      V [libjvm.dylib+0xf12332] oopDesc::print()+0x82
      V [libjvm.dylib+0x785b83] ExceptionMark::~ExceptionMark()+0x163
      V [libjvm.dylib+0xef0412] NotificationThread::initialize()+0xa2
      V [libjvm.dylib+0xe140bc] Management::initialize(JavaThread*)+0x1c
      V [libjvm.dylib+0x11e6955] Threads::create_vm(JavaVMInitArgs*, bool*)+0x865
      V [libjvm.dylib+0xab0ce5] JNI_CreateJavaVM+0x55

      Then

      # fatal error: ExceptionMark destructor expects no pending exceptions

      Stack: [0x000070000697d000,0x0000700006a7d000], sp=0x0000700006a7c240, free space=1020k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0x1290381] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x5a1 (exceptions.cpp:553)
      V [libjvm.dylib+0x6922b0] DebuggingContext::~DebuggingContext()+0x0
      V [libjvm.dylib+0x785baa] ExceptionMark::~ExceptionMark()+0x18a
      V [libjvm.dylib+0x10aaf8a] StatSampler::create_misc_perfdata()+0x1ca
      V [libjvm.dylib+0x10ab061] StatSampler::engage()+0x21
      V [libjvm.dylib+0x11e697c] Threads::create_vm(JavaVMInitArgs*, bool*)+0x88c
      V [libjvm.dylib+0xab0ce5] JNI_CreateJavaVM+0x55

            matsaave Matias Saavedra Silva
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: