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

SEGV in assert when using -XX:+UseConcMarkSweepGC

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.2
    • 1.4.1
    • hotspot
    • mantis
    • sparc
    • solaris_8

      /import/java/jdk1.4.1/solaris-sparc/bin/java_g -server -Xcomp -Xbatch -XX:+PrintOpto -XX:+PrintOptoAssembly -XX:CompileOnly=bar.setf -XX:+UseConcMarkSweepGC bb


      ---- file: bb.java -------------------
      class foo {
        foo g;
      }

      class bar {
        void setf(foo f) {
          if (f == null) {
            System.out.println("null");
          } else {
            f.g = f.g;
          }
        }
      }

      public class bb {
        public static void main(String args[]) {
          bar b = new bar();
          foo f = new foo();
          b.setf(f);
        }
      }


      ---------------------------------------------------------------

        1 bar::setf (24 bytes)

      Unexpected Signal : 11 occurred at PC=0xFDFAA058
      Function=AsyncGetCallTrace+0x329D0
      Library=/net/koori.sfbay/p/v07/jdk/1.4.1/rc/b17/binaries/solaris-sparc/jre/lib/sparc/server/libjvm_g.so

      Current Java thread:

      Dynamic libraries:
      0x10000 /import/java/jdk1.4.1/solaris-sparc/bin/java_g
      0xff360000 /usr/lib/libthread.so.1
      0xff3a0000 /usr/lib/libdl.so.1
      0xff280000 /usr/lib/libc.so.1
      0xff270000 /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
      0xfd800000 /net/koori.sfbay/p/v07/jdk/1.4.1/rc/b17/binaries/solaris-sparc/jre/lib/sparc/server/libjvm_g.so
      0xff210000 /usr/lib/libCrun.so.1
      0xff1f0000 /usr/lib/libsocket.so.1
      0xff100000 /usr/lib/libnsl.so.1
      0xff1c0000 /usr/lib/libm.so.1
      0xff240000 /usr/lib/libw.so.1
      0xff0c0000 /usr/lib/libmp.so.2
      0xff090000 /net/koori.sfbay/p/v07/jdk/1.4.1/rc/b17/binaries/solaris-sparc/jre/lib/sparc/native_threads/libhpi_g.so
      0xff060000 /net/koori.sfbay/p/v07/jdk/1.4.1/rc/b17/binaries/solaris-sparc/jre/lib/sparc/libverify_g.so
      0xfe7b0000 /net/koori.sfbay/p/v07/jdk/1.4.1/rc/b17/binaries/solaris-sparc/jre/lib/sparc/libjava_g.so
      0xfe770000 /net/koori.sfbay/p/v07/jdk/1.4.1/rc/b17/binaries/solaris-sparc/jre/lib/sparc/libzip_g.so

      Local Time = Tue Jul 16 21:12:12 2002
      Elapsed Time = 19
      #
      # HotSpot Virtual Machine Error : 11
      # Error ID : /BUILD_AREA/jdk1.4.1/hotspot/src/share/vm/runtime/os.cpp, 742 [ Patched ]
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Server VM (1.4.1-rc-b17-debug compiled mode)
      #
      # An error report file has been saved as hs_err_pid18713.log.
      # Please refer to the file for further information.
      #

      VM option '+PrintOpto'
      VM option '+PrintOptoAssembly'
      VM option 'CompileOnly=bar.setf'
      VM option '+UseConcMarkSweepGC'

            mpalecznsunw Michael Paleczny (Inactive)
            mpalecznsunw Michael Paleczny (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: