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

unit test java/lang/invoke/RicochetTest.java with MAX_ARITY=255 sometimes triggers 7009641

XMLWordPrintable

    • b145
    • generic
    • generic
    • Verified

      The log is:

      java.lang.Exception: JUnit test failure
              at com.sun.javatest.regtest.JUnitAction$JUnitRunner.main(JUnitAction.java:99)
              at com.sun.javatest.regtest.JUnitAction$JUnitRunner.main(JUnitAction.java:77)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:601)
              at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
              at java.lang.Thread.run(Thread.java:722)

      JavaTest Message: Test threw exception: java.lang.Exception: JUnit test failure
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Exception: JUnit test failure
      result: Failed. Execution failed: `main' threw exception: java.lang.Exception: JUnit test failure


      test result: Failed. Execution failed: `main' threw exception: java.lang.Exception: JUnit test failure

      Reproducible on solaris-sparc with VM options '-client -Xcomp -XX:+StartAttachListener -XX:+UseConcMarkSweepGC'.

      Another log seen is:

      ----------System.out:(16/898)----------
      [testFilterObject]
      [testFilterObject done]
      [testFilterInteger]
      [testIntSpreads]
      [testByteSpreads]
      [testLongSpreads]
      Java HotSpot(TM) 64-Bit Server VM warning: CodeCache is full. Compiler has been disabled.
      Java HotSpot(TM) 64-Bit Server VM warning: Try increasing the code cache size using -XX:ReservedCodeCacheSize=
      Code Cache [0x00002aaaab54d000, 0x00002aaaae54d000, 0x00002aaaae54d000)
       total_blobs=10470 nmethods=1654 adapters=8767 free_code_cache=44Kb largest_free_block=1344
      [testIntCollects]
      #
      # There is insufficient memory for the Java Runtime Environment to continue.
      # Native memory allocation (malloc) failed to allocate 4104 bytes for CodeCache: no room for vtable chunks
      # An error report file with more information is saved as:
      # /export/local/81230.JDK7.PROMOTION.VM+linux-amd64_javase__server_comp_JT_JDK_java_lang/results/workDir/java/lang/invoke/RicochetTest/hs_err_pid8987.log
      ----------System.err:(0/0)----------
      result: Failed. Unexpected exit from test [exit code: 1]


      test result: Failed. Unexpected exit from test [exit code: 1]

            jrose John Rose
            iprivaloorcl Igor Privalov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: