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

[Leyden] runtime/cds/appcds/applications/SpringPetClinic.java#aot failed with -XX:-UseCompressedOops

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • repo-leyden
    • hotspot

      Note, it pass with -XX:+UseCompressedOops

      % make test CONF=fast TEST_OPTS_JAVA_OPTIONS="-XX:-UseCompressedOops" JTREG_RETAIN=all TEST=runtime/cds/appcds/applications/SpringPetClinic.java#aot

      Failed to create AOT cache with this info:

      Reading AOTConfiguration SpringPetClinic.aot.config and writing AOTCache SpringPetClinic.aot
      [4.484s][error ][aot,heap ] Reference trace
      [4.484s][error ][aot,heap ] [ 0] {0x00007f1c0999ab78} java.lang.reflect.Proxy$ProxyBuilder$ArchivedData::appLoader (offset = 24)
      [4.484s][error ][aot,heap ] [ 1] {0x00007f1be5900000} jdk.internal.loader.ClassLoaders$AppClassLoader::positiveLookupCache (offset = 168)
      [4.484s][error ][aot,heap ] [ 2] {0x00007f1be527e250} java.util.concurrent.ConcurrentHashMap
      [4.484s][error ][aot,heap ] Cannot archive the sub-graph referenced from [Ljava.util.concurrent.ConcurrentHashMap$Node; object (0x00007f1bea200000) size 262160, skipped.
      [4.484s][error ][cds,heap ] Context
      [4.484s][error ][cds,heap ] - java/lang/reflect/Proxy$ProxyBuilder
      [4.484s][error ][cds,heap ] - archivedData
      [4.484s][error ][aot,heap ] Reference trace
      [4.484s][error ][aot,heap ] [ 0] {0x00007f1c0999ab78} java.lang.reflect.Proxy$ProxyBuilder$ArchivedData::appLoader (offset = 24)
      [4.484s][error ][aot,heap ] [ 1] {0x00007f1be5900000} jdk.internal.loader.ClassLoaders$AppClassLoader::positiveLookupCache (offset = 168)
      [4.484s][error ][aot,heap ] [ 2] {0x00007f1be527e250} java.util.concurrent.ConcurrentHashMap
      [4.484s][error ][aot ] An error has occurred while writing the shared archive file.
      [22.331s][error ][aot ] Child process failed; status = 1

            iklam Ioi Lam
            kvn Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: