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

[Lilliput] DifferentHeapSizes.java fails on Linux/aarch64

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • repo-lilliput
    • repo-lilliput
    • hotspot
    • aarch64
    • linux

      make run-test TEST=runtime/cds/appcds/cacheObject/DifferentHeapSizes.java
      currently fails with:
      TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'Hello World' missing from stdout/stderr

      Digging a little deeper reveals that one of the earlier processes that it calls crashes with:

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/home/rkennke/src/openjdk/lilliput/src/hotspot/share/oops/compressedKlass.cpp:87), pid=17111, tid=17112
      # assert(is_valid_base(_base)) failed: Address 0x0000000500000000 was chosen as encoding base for range [0x0000000500000000, 0x0000000540000000) but is not a valid encoding base
      #
      # JRE version: (21.0) (fastdebug build )
      # Java VM: OpenJDK 64-Bit Server VM (fastdebug 21-internal-adhoc.rkennke.lilliput, interpreted mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
      # Problematic frame:
      # V [libjvm.so+0x9f9568] CompressedKlassPointers::initialize(unsigned char*, unsigned long)+0xa8
      #
      # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      #

      This only happens on aarch64 for me, x86_64 seems fine. I'll attach the full hs_err.

            stuefe Thomas Stuefe
            rkennke Roman Kennke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: