AOT archive creation fails on 25.0.1 arm64 macOS in sun/util/locale/provider/LocaleServiceProviderPool::NULL_LIST

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 25
    • Component/s: hotspot

      The failure log on macOS arm64 is
      ```
      [3.480s][warning][aot,heap] Archive heap points to a static field that may hold a different value at runtime:
      [3.480s][warning][aot,heap] Field: sun/util/locale/provider/LocaleServiceProviderPool::NULL_LIST
      [3.480s][warning][aot,heap] Value: java.util.Collections$EmptyList
      [3.480s][warning][aot,heap] {0x00000007ffca30a0} - klass: 'java/util/Collections$EmptyList' - flags:
      [3.480s][warning][aot,heap]
      [3.480s][warning][aot,heap] - ---- fields (total size 2 words):
      [3.480s][warning][aot,heap] - protected transient 'modCount' 'I' @12 0 (0x00000000)
      [3.480s][warning][aot,heap] --- trace begin ---
      [3.480s][warning][aot,heap] [ 0] {0x00000007ffca30a0} java.util.Collections$EmptyList
      [3.480s][warning][aot,heap] --- trace end ---
      [3.480s][warning][aot,heap]
      [3.480s][error ][aot,heap] Scanned 180989 objects. Found 1 case(s) where an object points to a static field that may hold a different value at runtime.
      [3.480s][error ][aot,heap] Please see cdsHeapVerifier.cpp and aotClassInitializer.cpp for details
      [3.480s][error ][aot ] An error has occurred while writing the shared archive file.
      ```

            Assignee:
            Unassigned
            Reporter:
            Roman Marchenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: