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

Fix for 8198285 breaks slowdebug builds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 11
    • hotspot
    • gc
    • b18
    • x86_64
    • solaris_11, windows

        The fix for the following bug:

            JDK-8198285 More consistent Access API for arraycopy

        breaks the jdk/jdk slowdebug build on Solaris-X64. Please
        note that this failure mode did not occur on 'release' or
        'fastdebug' builds on Solaris-X64.

        Here are the error messages:

        Undefined first referenced
         symbol in file
        void AccessInternal::arraycopy_arrayof_conjoint<double>(__type_0*,__type_0*,unsigned long) /work/shared/mirrors/src_clones/jdk/jdk_baseline/build/solaris-x86_64-normal-server-slowdebug/hotspot/variant-server/libjvm/objs/jni.o
        void AccessInternal::arraycopy_arrayof_conjoint<float>(__type_0*,__type_0*,unsigned long) /work/shared/mirrors/src_clones/jdk/jdk_baseline/build/solaris-x86_64-normal-server-slowdebug/hotspot/variant-server/libjvm/objs/jni.o
        void AccessInternal::arraycopy_conjoint_atomic<unsigned short>(__type_0*,__type_0*,unsigned long) /work/shared/mirrors/src_clones/jdk/jdk_baseline/build/solaris-x86_64-normal-server-slowdebug/hotspot/variant-server/libjvm/objs/jni.o
        void AccessInternal::arraycopy_conjoint_atomic<unsigned char>(__type_0*,__type_0*,unsigned long) /work/shared/mirrors/src_clones/jdk/jdk_baseline/build/solaris-x86_64-normal-server-slowdebug/hotspot/variant-server/libjvm/objs/jni.o
        void AccessInternal::arraycopy_conjoint_atomic<float>(__type_0*,__type_0*,unsigned long) /work/shared/mirrors/src_clones/jdk/jdk_baseline/build/solaris-x86_64-normal-server-slowdebug/hotspot/variant-server/libjvm/objs/jni.o
        void AccessInternal::arraycopy_conjoint_atomic<double>(__type_0*,__type_0*,unsigned long) /work/shared/mirrors/src_clones/jdk/jdk_baseline/build/solaris-x86_64-normal-server-slowdebug/hotspot/variant-server/libjvm/objs/jni.o
        void AccessInternal::arraycopy_arrayof_conjoint<unsigned short>(__type_0*,__type_0*,unsigned long) /work/shared/mirrors/src_clones/jdk/jdk_baseline/build/solaris-x86_64-normal-server-slowdebug/hotspot/variant-server/libjvm/objs/jni.o
        void AccessInternal::arraycopy_arrayof_conjoint<unsigned char>(__type_0*,__type_0*,unsigned long) /work/shared/mirrors/src_clones/jdk/jdk_baseline/build/solaris-x86_64-normal-server-slowdebug/hotspot/variant-server/libjvm/objs/jni.o
        ld: fatal: symbol referencing errors
        make[3]: *** [/work/shared/mirrors/src_clones/jdk/jdk_baseline/build/solaris-x86_64-normal-server-slowdebug/support/modules_libs/java.base/server/libjvm.so] Error 1
        lib/CompileJvm.gmk:149: recipe for target '/work/shared/mirrors/src_clones/jdk/jdk_baseline/build/solaris-x86_64-normal-server-slowdebug/support/modules_libs/java.base/server/libjvm.so' failed
        make[3]: *** Waiting for unfinished jobs....


        I reverted the changes for JDK-8198285 to just
        src/hotspot/share/prims/jni.cpp and all three build
        configs were happy.

        I'm not sure what's going wrong with the access
        template stuff based on the error message.

              eosterlund Erik Ă–sterlund
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: