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

AIX link error undefined MetaspaceShared::_use_optimized_module_handling

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 15
    • hotspot
    • None
    • ppc
    • aix

      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).

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

              Created:
              Updated:
              Resolved: