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

AIX hprof should include its own copy of dladdr in porting_aix.c

XMLWordPrintable

    • aix

      src/aix/porting/porting_aix.* are moved to src/java.desktop/aix/native/libawt/porting_aix.*.

      Since AIX hprof also requires dladdr, currently porting_aix.* are copied to src/demo/aix/jvmti/hprof.

      However, jdk/make/CompileDemo.gmk will need adjustment to include this tiny function in libhprof.

      # On AIX, hprof requires 'dladdr' from src/aix/porting/porting_aix.cpp
      BUILD_LIBHPROF_AIX_EXTRA_SRC :=
      BUILD_LIBHPROF_AIX_EXTRA_CFLAGS :=
      ifeq ($(OPENJDK_TARGET_OS), aix)
        BUILD_LIBHPROF_AIX_EXTRA_SRC += $(JDK_TOPDIR)/src/aix/porting
        BUILD_LIBHPROF_AIX_EXTRA_CFLAGS += -I$(JDK_TOPDIR)/src/aix/porting
      endif

            erikj Erik Joelsson
            mchung Mandy Chung
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: