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

Fix for 8198285 breaks slowdebug builds

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b18
    • CPU:
      x86_64
    • OS:
      solaris_11, windows

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: