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

AIX link error undefined MetaspaceShared::_use_optimized_module_handling

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 15
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • CPU:
      ppc
    • OS:
      aix

      Description

      After current changes to src/hotspot/share/memory/metaspaceShared.cpp we run into this link error on AIX :

      ld: 0711-317 ERROR: Undefined symbol: MetaspaceShared::_use_optimized_module_handling
      ld: 0711-344 See the loadmap file /nightly/output-jdk/hotspot/variant-server/libjvm/objs/libjvm.loadmap for more information.
      gmake[3]: *** [lib/CompileJvm.gmk:152: /nightly/output-jdk/support/modules_libs/java.base/server/libjvm.so] Error 8
      gmake[3]: *** Waiting for unfinished jobs....
      ld: 0711-317 ERROR: Undefined symbol: MetaspaceShared::_use_optimized_module_handling

      Looks like we the problem is that we call into metaspaceShared , but metaspaceShared is not built on AIX (because we have CDS disabled on AIX).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mbaesken Matthias Baesken
              Reporter:
              mbaesken Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: