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

need to copy pstack support binaries from hotspot build during j2se build

XMLWordPrintable

    • tiger
    • generic
    • solaris_8

      Solaris specific j2se makefile changes requested:

      To support enhanced pstack (4828776 - Provide Java call stack support for dtrace), we have to copy libjvm_db.so along with libjvm.so. From hotspot build, libjvm_db.so is produced under the same directory where libjvm.so is produced.

      For 32 bit Solaris build, there is an additional 64-bit libjvm_db.so produced under '64' subdir. This needs to be copied as well. There is no 64 dir for 64 bit Solaris build. Instead there is a 64-bit libjvm_db.so produced with 64-bit libjvm.so. Only that needs to be copied.

      Hotspot build binaries layout:

      32 bit client build:

      solaris_sparc_compiler1
        |
        |--- product
            |
            |--- libjvm.so, libjvm_db.so
            |--- 64
                  |-- libjvm_db.so


      solaris_i486_compiler1
        |
        |--- product
            |
            |--- libjvm.so, libjvm_db.so


      32 bit server build:

      solaris_sparc_compiler2
        |
        |--- product
            |
            |--- libjvm.so, libjvm_db.so
            |--- 64
                  |-- libjvm_db.so

      solaris_i486_compiler2
        |
        |--- product
            |
            |--- libjvm.so, libjvm_db.so


      Similar, binary layout for solaris_i386_compiler1 and solaris_i386_compiler2 for Solaris/x86 builds.

      64 bit server build:

      solaris_sparcv9_compiler2
        |
        |--- product
            |
            |--- libjvm.so, libjvm_db.so


      The destination to copy libjvm_db.so:

      32 bit:
          jre/lib/sparc/client/libjvm_db.so
          jre/lib/sparc/client/64/libjvm_db.so
          jre/lib/sparc/server/libjvm_db.so
          jre/lib/sparc/server/64/libjvm_db.so

          jre/lib/i386/client/libjvm_db.so
          jre/lib/i386/client/64/libjvm_db.so
          jre/lib/i386/server/libjvm_db.so
          jre/lib/i386/server/64/libjvm_db.so

      64 bit
          jre/lib/sparcv9/server/libjvm.so
          jre/lib/sparcv9/server/libjvm_db.so

      ###@###.### 2003-09-01

      I missed libjvm_g.so. There is libjvm_g_db.so that corresponds to libjvm_g.so. Please include additional copy instructions to copy debug versions (libjvm_g_db.so) as well. Thanks to Serguei for pointing this out.

      ###@###.### 2003-09-01

      I have added locations for libjvm_g_db.so bellow.

      Hotspot build binaries layout for jvmg versions:

      32 bit client build:

      solaris_sparc_compiler1
        |
        |--- jvmg
            |
            |--- libjvm_g.so, libjvm_g_db.so
            |--- 64
                  |-- libjvm_g_db.so


      solaris_i486_compiler1
        |
        |--- jvmg
            |
            |--- libjvm_g.so, libjvm_g_db.so


      32 bit server build:

      solaris_sparc_compiler2
        |
        |--- jvmg
            |
            |--- libjvm_g.so, libjvm_g_db.so
            |--- 64
                  |-- libjvm_g_db.so

      solaris_i486_compiler2
        |
        |--- jvmg
            |
            |--- libjvm_g.so, libjvm_g_db.so


      64 bit server build:

      solaris_sparcv9_compiler2
        |
        |--- jvmg
            |
            |--- libjvm_g.so, libjvm_g_db.so

      The destination to copy libjvm_g_db.so:

      32 bit:
          jre/lib/sparc/client/libjvm_g_db.so
          jre/lib/sparc/client/64/libjvm_g_db.so
          jre/lib/sparc/server/libjvm_g_db.so
          jre/lib/sparc/server/64/libjvm_g_db.so

          jre/lib/i386/client/libjvm_g_db.so
          jre/lib/i386/client/64/libjvm_g_db.so
          jre/lib/i386/server/libjvm_g_db.so
          jre/lib/i386/server/64/libjvm_g_db.so

      64 bit:
          jre/lib/sparcv9/server/libjvm_g_db.so

      ###@###.### 2003-09-16

            vjayaramsunw Vijayan Jayaraman (Inactive)
            sundar Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: