Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8196611 [Graal] Tests unaware of objects allocation triggered by Graal
  3. JDK-8230454

[Graal] Add "com/sun/crypto/provider/KeyFactory/TestProviderLeak.java" to Graal problem list

XMLWordPrintable

    • b14
    • generic
    • linux

      Jtreg test:

      jdk/com/sun/crypto/provider/KeyFactory/TestProviderLeak.java
      fails by throwing OutOfMemoryException:

      Timeout for each iteration is 80 seconds
      Before memory allocation: 15603016 bytes free
      Exception during JVMCI compiler initialization:
      java.lang.OutOfMemoryError: Java heap space
      at org.graalvm.compiler.hotspot.HotSpotGraalRuntime.<init>(jdk.internal.vm.compiler@14-internal/HotSpotGraalRuntime.java:144)
      at org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.createCompiler(jdk.internal.vm.compiler@14-internal/HotSpotGraalCompilerFactory.java:156)
      at org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.createCompiler(jdk.internal.vm.compiler@14-internal/HotSpotGraalCompilerFactory.java:134)
      at org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.createCompiler(jdk.internal.vm.compiler@14-internal/HotSpotGraalCompilerFactory.java:52)
      at jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.getCompiler(jdk.internal.vm.ci@14-internal/HotSpotJVMCIRuntime.java:629)
      at jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.compileMethod(jdk.internal.vm.ci@14-internal/HotSpotJVMCIRuntime.java:696)
      Here is the test message:

      ----------messages:(4/178)----------
      command: main -Xmx20m TestProviderLeak
      reason: User specified action: run main/othervm -Xmx20m TestProviderLeak
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 2.151
      The full log: http://ent-x86-04.shanghai.arm.com/openjdk/test_results/jtreg/aarch64/201908260656_141277_v5_arm-d05-03_graal_-XX__UnlockExperime/jtwork_rerun/com/sun/crypto/provider/KeyFactory/TestProviderLeak.jtr

      This exception is caused by "-Xmx20m", which is not enough for JVMCI initialization. A simple fix is to move it to the problem list. Hope it's ok for libgraal, so that we can move it out from the problem list once libgraal is enabled.

            xgong Xiaohong Gong
            pli Pengfei Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: