Fix for 8198285 breaks slowdebug builds

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 11
    • Affects Version/s: 11
    • Component/s: 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.

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

                Created:
                Updated:
                Resolved: