-
Bug
-
Resolution: Fixed
-
P2
-
9
-
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
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