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

JVMPI_EVENT_METHOD_EXIT not issued when leaving method by throwing exception, on ia64/1.4.2.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.4.2_21-rev
    • vm-legacy
    • None
    • itanium
    • linux_suse_sles_11

      Failure while testing nsk/jvmpi/events/mexit001

      TOTAL TESTS IN RUN: 1
      TEST PASS: 0; 0% rate
      TEST FAIL: 1; 100% rate

      [2009-06-24T13:47:27.86] CLASSPATH="${test_work_dir}${PS}${CLASSPATH}"
      [2009-06-24T13:47:27.86] # Actual:
      CLASSPATH=/export/Kevin/results/root.Linux.ia64/mexit001:/net/jqa.ireland/jqa6/dtf/dtf_ws/suites/142_Suites/vm//src/classes:.:/expo
      rt/Kevin/results/root.Linux.ia64/equals001:/net/jqa.ireland/jqa6/dtf/dtf_ws/suites/142_Suites/vm//src/classes::/export/home/JDK/j2s
      dk1.4.2_21/lib/tools.jar:/net/jqa.ireland/jqa6/dtf/dtf_ws/suites/142_Suites/share/harness/tonga/tonga3.0.jar:/net/jqa.ireland/jqa6/
      dtf/dtf_ws/suites/142_Suites/share/harness/javatest/javatest.jar:/export/home/JDK/j2sdk1.4.2_21/lib/tools.jar:/net/jqa.ireland/jqa6
      /dtf/dtf_ws/suites/142_Suites/share/harness/tonga/tonga3.0.jar:/net/jqa.ireland/jqa6/dtf/dtf_ws/suites/142_Suites/share/harness/jav
      atest/javatest.jar
      [2009-06-24T13:47:27.87] export CLASSPATH
      [2009-06-24T13:47:27.87] ${JAVA} ${JAVA_OPTS} ${EXECUTE_CLASS} ${TEST_ARGS}
      [2009-06-24T13:47:27.92] # Actual: /usr/bin/perl
      /net/jqa.ireland/jqa6/dtf/dtf_ws/suites/142_Suites/vm//src/nsk/jvmpi/share/run_jvmpi.pl /export/home/JDK/j2sdk1.4.2_21/bin/java
      -Xrunmexit001 mexit001
      [2009-06-24T13:47:27.92] Method meth07(I)I: method ID expected: 0x0x600000000009d500, got: 0x(nil)
      [2009-06-24T13:47:28.45] Method meth08(I)V: method ID expected: 0x0x600000000009d540, got: 0x(nil)
      [2009-06-24T13:47:28.45] # Test level exit status: 97


      OK on i386. Also verified Solaris/sparc shows no failures for this test.

      But it is not clear if this is a regression in 1.4.2_21 or if this problem has always affected ia64.


      Two of the methods tested fail:

      meth07(0) performs division by 0, and meth08(1) will throw new mexit001x().

      Making another test method exit with an exception, it also fails.

      With -Xint the same failures happen.
      With -Xcomp only meth08 fails (meth08 specifically throws mexit001, while meth07 does divide by zero. But my
      edited meth00 throws new Throwable() and that doesn't fail with -Xcomp...)

      e.g.
      # java -Xcomp -Xrunmexit001 mexit001
      Method meth08(I)V: method ID expected: 0x0x6000000000348b40, got: 0x(nil)

            Unassigned Unassigned
            kevinw Kevin Walls
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: