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

Allow loading of shared objects with .a extension on AIX

    XMLWordPrintable

Details

    • b12
    • ppc
    • aix

    Backports

      Description

        dcstartup script uses -agentlib:am_ibm_16 as one of the command line parameters to run the application.
        Error log: dcstartup Issue: Could not find agent library am_ibm_16 on the library path, with error: libam_ibm_16.so
        The agentlib calls native jvm agent code, which does a dll_load to load the library files. OpenJDK hotspot can only load libraries with .so extension and throws an error when libraries have .a extension.

        Solution :
        Providing an alternate path for loading shared objects with .a extension.
        If the loading of a shared object ,for e.g obj.so, fails, we check if there is an archive file with the same filename i.e obj.a and perform the loading again.


        Attachments

          Issue Links

            Activity

              People

                sroy Suchismith Roy
                varadam Varada M
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: